]> bbs.cooldavid.org Git - net-next-2.6.git/commit - arch/arm/plat-mxc/Kconfig
ARM: imx: Change the way nand devices are registered (generic part)
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 15 Jun 2010 16:14:19 +0000 (18:14 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 30 Jun 2010 07:00:29 +0000 (09:00 +0200)
commit66384eedd900f2f6bb00e4f16c2cb770d6b0066b
tree31ed249270dec10263a6fded4a47e065ce46120d
parentaa71251c5b8c673361281fbfd8be5a9ee8b9f4cc
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>
arch/arm/plat-mxc/Kconfig
arch/arm/plat-mxc/Makefile
arch/arm/plat-mxc/devices/Kconfig [new file with mode: 0644]
arch/arm/plat-mxc/devices/Makefile [new file with mode: 0644]
arch/arm/plat-mxc/devices/platform-mxc_nand.c [new file with mode: 0644]
arch/arm/plat-mxc/include/mach/devices-common.h