mtd: ixp: convert to mtd_device_register()
authorJamie Iles <jamie@jamieiles.com>
Mon, 23 May 2011 09:22:49 +0000 (10:22 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 25 May 2011 01:20:41 +0000 (02:20 +0100)
commit6cbbf2ffa170c4cb5f1d1c0dd0f2bd597813a002
treebab3a3f14d4b9f5d10ecdd0c6cf9a8e2d97a4390
parentc06addd3153af8e6ee10079e8afa2c3bb8a1516e
mtd: ixp: convert to mtd_device_register()

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

Cc: Imre Kaloz <kaloz@openwrt.org>
Cc: Krzysztof Halasa <khc@pm.waw.pl>
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-ixp4xx/ixdp425-setup.c
drivers/mtd/maps/ixp2000.c
drivers/mtd/maps/ixp4xx.c