mtd: autcpu12-nvram: Fix compile breakage
authorAlexander Shiyan <shc_work@mail.ru>
Wed, 15 Aug 2012 16:28:05 +0000 (20:28 +0400)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 17 Oct 2012 02:49:12 +0000 (03:49 +0100)
commit3d6f072401a231375a960010c87945a1e70f0042
tree172371d06a514636bc9ab883def91d01efefab8a
parent0c53cadfdcd93f76f37fd1ad45e3fa8dacc73bad
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: Ben Hutchings <ben@decadent.org.uk>
drivers/mtd/maps/autcpu12-nvram.c