can: at91_can: convert derived mailbox constants into functions
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 3 May 2011 15:31:40 +0000 (17:31 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 6 Jun 2011 09:02:17 +0000 (11:02 +0200)
commit79008997e232ad1d871bb6fedfb7fbd77ea95af8
tree7be3b22fa90ea906398a25cfee6b240630e48463
parentb049994d0f3a19c1706627117a7269ce5bd335ab
can: at91_can: convert derived mailbox constants into functions

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

This patch converts all derived mailbox constants to functions.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/at91_can.c