summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-10-15 14:08:48 +0900
committerPaul Mundt <lethal@linux-sh.org>2012-10-15 14:08:48 +0900
commit0dd4d5cbe4c38165dc9b3ad329ebb23f24d74fdb (patch)
treec2ba5f76da4ad86538c5fc9a2a410efa094c1e85 /drivers/tty
parentcf7599322a6052dae7353f6d986eae06dc7759f5 (diff)
downloadlinux-0dd4d5cbe4c38165dc9b3ad329ebb23f24d74fdb.tar.gz
linux-0dd4d5cbe4c38165dc9b3ad329ebb23f24d74fdb.tar.bz2
linux-0dd4d5cbe4c38165dc9b3ad329ebb23f24d74fdb.zip
sh: Fix up more fallout from pointless ARM __iomem churn.
It was already pointed out how to fix these cases before the offending patches were merged, but unsurprisingly, that didn't happen. As this change is entirely superfluous to begin with, simply shut things up by casting everything away. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/sh-sci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c
index 9be296cf7295..6ee59001d61d 100644
--- a/drivers/tty/serial/sh-sci.c
+++ b/drivers/tty/serial/sh-sci.c
@@ -530,7 +530,8 @@ static inline int sci_rxd_in(struct uart_port *port)
if (s->cfg->port_reg <= 0)
return 1;
- return !!__raw_readb(s->cfg->port_reg);
+ /* Cast for ARM damage */
+ return !!__raw_readb((void __iomem *)s->cfg->port_reg);
}
/* ********************************************************************** *