mtd: autcpu12-nvram: Fix compile breakage
authorAlexander Shiyan <shc_work@mail.ru>
Wed, 15 Aug 2012 16:28:05 +0000 (20:28 +0400)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 13:54:55 +0000 (14:54 +0100)
commitd1f55c680e5d021e7066f4461dd678d42af18898
tree473738efb977f680e1fb75077d9960247637a910
parent4cacbe226f39061f3e6730a08e3323e04a0de03f
mtd: autcpu12-nvram: Fix compile breakage

Update driver autcpu12-nvram.c so it compiles; map_read32/map_write32
no longer exist in the kernel so the driver is totally broken.
Additionally, map_info name passed to simple_map_init is incorrect.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: stable@vger.kernel.org
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/autcpu12-nvram.c