From: Uwe Kleine-König Date: Thu, 4 Nov 2010 11:02:35 +0000 (+0100) Subject: ARM: imx: change the way flexcan devices are registered X-Git-Tag: v2.6.38-rc1~38^2~3^2~88^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc40d0191943fa995f5359b5c23aa7c3dea69d7b;p=pandora-kernel.git ARM: imx: change the way flexcan devices are registered Group soc specific data in a global struct instead of repeating it for each call to imxXX_add_flexcanX. The structs holding the actual data are placed in .init.constdata and so don't do much harm. Compared to the previous approach this reduces code size to call imx_add_flexcan. Signed-off-by: Uwe Kleine-König --- Reading git-diff-tree failed