]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
gpio/nomadik: use ioremap() instead of static mappings
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 17 Apr 2012 08:15:54 +0000 (10:15 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 24 Apr 2012 07:36:04 +0000 (09:36 +0200)
commit8d91771ca4aff257f53ac7643f90b5cbb740971b
tree991fc0ffa84d0ea9378ecb6e4542032e081046c6
parentebc6178dab43b38042f0e089526bad49081870e5
gpio/nomadik: use ioremap() instead of static mappings

We were using a custom io_p2v() (physical-to-virtual) translation
macro, but it's fully possible to just ioremap() this memory
now, so skip use of static addresses altogether.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-nomadik.c