mtd: octeon: convert to mtd_device_register()
authorJamie Iles <jamie@jamieiles.com>
Mon, 23 May 2011 09:22:54 +0000 (10:22 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 25 May 2011 01:21:11 +0000 (02:21 +0100)
commit5851becb5bae13ca6525fd0d97116043fcb0e20e
tree848fe877cb9e4039fc381dcf416c623e232db889
parent36cda05b375ad0fbaba3879047b62d270d214376
mtd: octeon: convert to mtd_device_register()

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

Cc: Ralf Baechle <ralf@linux-mips.org>
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/mips/cavium-octeon/flash_setup.c