mtd: autcpu12-nvram: Convert driver to platform_device
authorAlexander Shiyan <shc_work@mail.ru>
Wed, 15 Aug 2012 16:28:06 +0000 (20:28 +0400)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 13:55:19 +0000 (14:55 +0100)
commitce55754c4f3ea6985d19e24aa8972918bd07c88d
treefae3ea5859b30a26fa3d080e361227664207f28f
parentd1f55c680e5d021e7066f4461dd678d42af18898
mtd: autcpu12-nvram: Convert driver to platform_device

Because we can have a single kernel to support multiple machines, we
need to make loading specific drivers for the target platform only.
For this, driver is converted to the platform driver.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
arch/arm/mach-clps711x/autcpu12.c
drivers/mtd/maps/Kconfig
drivers/mtd/maps/autcpu12-nvram.c