commit | ebd71e3a4861849054751779ff5ccd3fb29a1e0a | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Sat Oct 16 18:31:14 2010 -0400 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Oct 25 01:16:17 2010 +0100 |
tree | 34be07813f01c5557b97c27f5201d748bd9e6842 | |
parent | 5954c47c2194abcdeeae5f752e64b7c75770dbd3 [diff] |
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: Alan Cox <alan@linux.intel.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>