]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: mxc: clean up imx-dma device registration
authorShawn Guo <shawn.guo@linaro.org>
Wed, 22 Jun 2011 14:41:30 +0000 (22:41 +0800)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 27 Jun 2011 09:50:02 +0000 (11:50 +0200)
commit24b9ad95a6927a8aca2473314ae6509fec9b4e14
treeb4100a689fffbaad265891e3b759e7ce46dfd56f
parentab9922b1909a146b1fee03abc348a4324b300309
ARM: mxc: clean up imx-dma device registration

The patch follows the implementation of gpio-mxc device registration
to break the concentrated imx-dma device registration into soc
specific setup function.  Then we can avoid the churn of "#ifdef"
and the cpu_is_mx checking on such a long list, which makes no sense,
considering more soc supports need to be added and we need to support
single image for multiple socs in the long run.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/mm-imx21.c
arch/arm/mach-imx/mm-imx25.c
arch/arm/mach-imx/mm-imx27.c
arch/arm/mach-imx/mm-imx31.c
arch/arm/mach-imx/mm-imx35.c
arch/arm/mach-mx5/mm.c
arch/arm/plat-mxc/devices.c
arch/arm/plat-mxc/devices/platform-imx-dma.c
arch/arm/plat-mxc/include/mach/devices-common.h