diff options
Diffstat (limited to 'arch/sh/boards/titan/io.c')
-rw-r--r-- | arch/sh/boards/titan/io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/boards/titan/io.c b/arch/sh/boards/titan/io.c index b886fd2..48f3494 100644 --- a/arch/sh/boards/titan/io.c +++ b/arch/sh/boards/titan/io.c @@ -30,10 +30,10 @@ static inline void delay(void) ctrl_inw(0xa0000000); } -static inline volatile u16 *port2adr(unsigned int port) +static inline unsigned int port2adr(unsigned int port) { maybebadio((unsigned long)port); - return (volatile u16*)port; + return port; } u8 titan_inb(unsigned long port) |