summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/Makefile
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-15 18:14:19 +0200
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-30 09:00:29 +0200
commit66384eedd900f2f6bb00e4f16c2cb770d6b0066b (patch)
tree31ed249270dec10263a6fded4a47e065ce46120d /arch/arm/plat-mxc/Makefile
parentaa71251c5b8c673361281fbfd8be5a9ee8b9f4cc (diff)
downloadblackbird-op-linux-66384eedd900f2f6bb00e4f16c2cb770d6b0066b.tar.gz
blackbird-op-linux-66384eedd900f2f6bb00e4f16c2cb770d6b0066b.zip
ARM: imx: Change the way nand devices are registered (generic part)
Instead of having a platform device defined in a devices.c and register it in the machine file allocate it dynamically. This reduces the size of needed memory as the new function is discarded after init and only the existing devices are created. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/Makefile')
-rw-r--r--arch/arm/plat-mxc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/Makefile b/arch/arm/plat-mxc/Makefile
index f134d14eabfd..c7506a80eb31 100644
--- a/arch/arm/plat-mxc/Makefile
+++ b/arch/arm/plat-mxc/Makefile
@@ -19,3 +19,5 @@ ifdef CONFIG_SND_IMX_SOC
obj-y += ssi-fiq.o
obj-y += ssi-fiq-ksym.o
endif
+
+obj-y += devices/
OpenPOWER on IntegriCloud