mtd: maps: gpio-addr-flash: fix warnings and make more portable
authorMike Frysinger <vapier@gentoo.org>
Sat, 16 Oct 2010 22:31:14 +0000 (18:31 -0400)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 25 Oct 2010 00:16:17 +0000 (01:16 +0100)
As reported on lkml, building this module for HIMEM systems spews warnings
about mismatch in pointer types.  Further, we need to use ioremap() in order
to properly access the flash memory on most systems rather than just doing
it directly.

Reported-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

No differences found