From: Marc Kleine-Budde Date: Tue, 3 May 2011 15:41:09 +0000 (+0200) Subject: can: at91_can: add id_table and convert prime mailbox constats to functions X-Git-Tag: v3.1-rc1~316^2~450^2~59^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3d47264a364aa3adcbb485471dbf9f693fb4216;p=pandora-kernel.git 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: Marc Kleine-Budde --- Reading git-diff-tree failed