aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/titan
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-27 02:41:24 -0400
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 02:41:24 -0400
commit373e68b5472d421cbd2703e7a77caf053f78c005 (patch)
tree6fed51fdf1b89f80a1ec9ea4aab285c1af649945 /arch/sh/boards/titan
parentf647d33f879d258de4ab2559975bd6eebda2033e (diff)
sh: Board updates for I/O routine rework.
This updates the various boards for some of the recent I/O routine updates. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/titan')
-rw-r--r--arch/sh/boards/titan/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/boards/titan/io.c b/arch/sh/boards/titan/io.c
index b886fd233a66..48f3494f55b1 100644
--- a/arch/sh/boards/titan/io.c
+++ b/arch/sh/boards/titan/io.c
@@ -30,10 +30,10 @@ static inline void delay(void)
30 ctrl_inw(0xa0000000); 30 ctrl_inw(0xa0000000);
31} 31}
32 32
33static inline volatile u16 *port2adr(unsigned int port) 33static inline unsigned int port2adr(unsigned int port)
34{ 34{
35 maybebadio((unsigned long)port); 35 maybebadio((unsigned long)port);
36 return (volatile u16*)port; 36 return port;
37} 37}
38 38
39u8 titan_inb(unsigned long port) 39u8 titan_inb(unsigned long port)