Skip to content
Commit ebd71e3a authored by Mike Frysinger's avatar Mike Frysinger Committed by David Woodhouse
Browse files

mtd: maps: gpio-addr-flash: fix warnings and make more portable



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: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 5954c47c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment