Skip to content
Snippets Groups Projects
Commit d3d47264 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde
Browse files

can: at91_can: add id_table and convert prime mailbox constats to functions


This is the second of two patches converting the at91_can driver from a
compile time mailbox setup to a dynamic one.

This patch first adds a id_table to the platform driver. Depending on the
driver_data the constants for the mailbox setup is selected. Then all
remaining prime mailbox constants are converted to functions, using the
run time selected mailbox constants.

Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 79008997
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment