mtd: nand: ams-delta: convert to platform driver
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Tue, 14 Dec 2010 20:09:40 +0000 (21:09 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 6 Jan 2011 15:18:16 +0000 (15:18 +0000)
commit7e95d1f1714cb993bc5b7e3a3d532b715b32d80a
tree7ba9a6221620274da2b871b07cef891d0e916e32
parent75c52a49630a478ffe9c1473441779676817fce6
mtd: nand: ams-delta: convert to platform driver

In its current form, the driver may interfere with different hardware on
different boards if built into the kernel, hence is not suitable for
inclusion into a defconfig, inteded to be usable with multiple OMAP1 cpu and
machine types.

Convert it to a platform driver, that should be free from this issue.

Created and tested against linux-2.6.37-rc5 on Amstrad Delta.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
arch/arm/mach-omap1/board-ams-delta.c
drivers/mtd/nand/ams-delta.c