mtd: autcpu12-nvram: Fix compile breakage
authorAlexander Shiyan <shc_work@mail.ru>
Wed, 15 Aug 2012 16:28:05 +0000 (20:28 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Oct 2012 20:38:58 +0000 (05:38 +0900)
commit2640a717145425d59c066e7de9350719912bd418
tree5106dced0b3740f863dd7fea78210d4162e93429
parente82df24e733c04385e8d8c32d3062292668bf8c0
mtd: autcpu12-nvram: Fix compile breakage

commit d1f55c680e5d021e7066f4461dd678d42af18898 upstream.

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>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mtd/maps/autcpu12-nvram.c