Commit cbe4d2a8 authored by Tom Rini's avatar Tom Rini

ppc32: Fix warning in gen550 code.

In gen550_dbg.c, cast addr in our direct_inb/oub routines to
__iomem.
Signed-off-by: default avatarRandy Vinson <rvinson@mvista.com>
Signed-off-by: default avatarTom Rini <trini@kernel.crashing.org>
parent 6db9c842
......@@ -40,12 +40,12 @@ static int shift;
unsigned long direct_inb(unsigned long addr)
{
return readb(addr);
return readb((void __iomem *)addr);
}
void direct_outb(unsigned long addr, unsigned char val)
{
writeb(val, addr);
writeb(val, (void __iomem *)addr);
}
unsigned long io_inb(unsigned long port)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment