aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/renesas/hs7751rvoip/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boards/renesas/hs7751rvoip/io.c')
-rw-r--r--arch/sh/boards/renesas/hs7751rvoip/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/boards/renesas/hs7751rvoip/io.c b/arch/sh/boards/renesas/hs7751rvoip/io.c
index 3a1abfa2fefb..09fb77ffb835 100644
--- a/arch/sh/boards/renesas/hs7751rvoip/io.c
+++ b/arch/sh/boards/renesas/hs7751rvoip/io.c
@@ -167,7 +167,7 @@ void hs7751rvoip_outb(unsigned char value, unsigned long port)
167 *(volatile unsigned char *)port = value; 167 *(volatile unsigned char *)port = value;
168#if defined(CONFIG_HS7751RVOIP_CODEC) 168#if defined(CONFIG_HS7751RVOIP_CODEC)
169 else if (codec_port(port)) 169 else if (codec_port(port))
170 *(volatile unsigned cjar *)((unsigned long)area6_io8_base+(port-CODEC_IO_BASE)) = value; 170 *(volatile unsigned char *)((unsigned long)area6_io8_base+(port-CODEC_IO_BASE)) = value;
171#endif 171#endif
172 else if (CHECK_SH7751_PCIIO(port) || shifted_port(port)) 172 else if (CHECK_SH7751_PCIIO(port) || shifted_port(port))
173 *(unsigned char *)PCI_IOMAP(port) = value; 173 *(unsigned char *)PCI_IOMAP(port) = value;
@@ -181,7 +181,7 @@ void hs7751rvoip_outb_p(unsigned char value, unsigned long port)
181 *(volatile unsigned char *)port = value; 181 *(volatile unsigned char *)port = value;
182#if defined(CONFIG_HS7751RVOIP_CODEC) 182#if defined(CONFIG_HS7751RVOIP_CODEC)
183 else if (codec_port(port)) 183 else if (codec_port(port))
184 *(volatile unsigned cjar *)((unsigned long)area6_io8_base+(port-CODEC_IO_BASE)) = value; 184 *(volatile unsigned char *)((unsigned long)area6_io8_base+(port-CODEC_IO_BASE)) = value;
185#endif 185#endif
186 else if (CHECK_SH7751_PCIIO(port) || shifted_port(port)) 186 else if (CHECK_SH7751_PCIIO(port) || shifted_port(port))
187 *(unsigned char *)PCI_IOMAP(port) = value; 187 *(unsigned char *)PCI_IOMAP(port) = value;