ARM: 7459/1: irda/pxa: use readl_relaxed() to access OSCR register
authorArnd Bergmann <arnd@arndb.de>
Sat, 7 Jul 2012 19:00:18 +0000 (20:00 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 9 Jul 2012 16:39:35 +0000 (17:39 +0100)
commit929678005ce947d521b0f8f3a76d48d7b394562b
tree6a99c72369ab51dfb0d610537c3cdce98b8df6cb
parent3169663ac5902f2228ea0eb8cc34eb52cbd4b283
ARM: 7459/1: irda/pxa: use readl_relaxed() to access OSCR register

After c00184f9ab4 "ARM: sa11x0/pxa: convert OS timer registers to IOMEM",
magician_defconfig and a few others fail to build because the OSCR
register is accessed by the drivers/net/irda/pxaficp_ir.c but has turned
into a pointer that needs to be read using readl.

There are other registers in the same driver that eventually should
be converted, and it's unclear whether we would want a better interface
to access the OSCR from a device driver.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/net/irda/pxaficp_ir.c