]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 24 Aug 2012 08:03:38 +0000 (11:03 +0300)
commit146f55fceb498145e10c704db0cb1e06d412f09e
tree0fad861a24ab7380dcb63ce6e6c74eeb7e826abe
parentb9a8c22e9c84648194db39f4aa209535669705ca
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>
arch/arm/mach-clps711x/autcpu12.c
drivers/mtd/maps/Kconfig
drivers/mtd/maps/autcpu12-nvram.c