{
void __iomem *ret;
if (__PORT_PCIO(port))
- ret = (void __iomem *)PCIO_BASE;
+ ret = PCIO_BASE;
else
- ret = (void __iomem *)IO_BASE;
+ ret = IO_BASE;
return ret + (port << 2);
}
result; \
})
-#define __ioaddrc(port) \
- ((void __iomem *)(__PORT_PCIO((port)) ? PCIO_BASE : IO_BASE) + ((port) << 2))
+#define __ioaddrc(port) \
+ ((__PORT_PCIO(port) ? PCIO_BASE : IO_BASE) + ((port) << 2))
#define inb(p) (__builtin_constant_p((p)) ? __inbc(p) : __inb(p))
#define inw(p) (__builtin_constant_p((p)) ? __inwc(p) : __inw(p))