mtd: pxa: convert to mtd_device_register()
authorJamie Iles <jamie@jamieiles.com>
Mon, 23 May 2011 09:22:50 +0000 (10:22 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 25 May 2011 01:20:48 +0000 (02:20 +0100)
commit3dfad123e81cdf11642aa63da1149ee71a369d2d
tree971642bf84d176dc7b52cfccc95a420158a0e6d7
parent6cbbf2ffa170c4cb5f1d1c0dd0f2bd597813a002
mtd: pxa: convert to mtd_device_register()

Convert to mtd_device_register() and remove the CONFIG_MTD_PARTITIONS
preprocessor conditionals as partitioning is always available.

Cc: Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Artem Bityutskiy <dedekind1@gmail.com>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
arch/arm/mach-pxa/Kconfig
drivers/mtd/maps/Kconfig
drivers/mtd/maps/pxa2xx-flash.c
drivers/mtd/nand/pxa3xx_nand.c