pinctrl: mvebu: fix iomem pointer for dove pinctrl
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Mon, 19 Nov 2012 09:39:53 +0000 (10:39 +0100)
committerJason Cooper <jason@lakedaemon.net>
Sat, 24 Nov 2012 02:57:14 +0000 (02:57 +0000)
commit78f9f3b12c6a25a668c43f026f42596c88d6d0bd
treee8b40a7ae3b3fcc99e955407fb0da0ff8ca3672d
parent423b89595de34f81061d106c34cfca58cde497da
pinctrl: mvebu: fix iomem pointer for dove pinctrl

There has been a change in readl/writel to require registers
addresses marked as IOMEM(). This patch takes care of this and
also replaces ORing address offsets with adding them.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/pinctrl/mvebu/pinctrl-dove.c