From: Mike Frysinger Date: Sat, 16 Oct 2010 22:31:14 +0000 (-0400) Subject: mtd: maps: gpio-addr-flash: fix warnings and make more portable X-Git-Tag: v2.6.37-rc1~22^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebd71e3a4861849054751779ff5ccd3fb29a1e0a;p=pandora-kernel.git 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 Signed-off-by: Mike Frysinger Signed-off-by: David Woodhouse --- Reading git-diff-tree failed