diff options
Diffstat (limited to 'arch/sh/boards/mach-hp6xx/setup.c')
-rw-r--r-- | arch/sh/boards/mach-hp6xx/setup.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/sh/boards/mach-hp6xx/setup.c b/arch/sh/boards/mach-hp6xx/setup.c index e6dd5e96321e..8c9add5f4cfa 100644 --- a/arch/sh/boards/mach-hp6xx/setup.c +++ b/arch/sh/boards/mach-hp6xx/setup.c | |||
@@ -149,19 +149,19 @@ static void __init hp6xx_setup(char **cmdline_p) | |||
149 | 149 | ||
150 | sh_dac_output(0, DAC_SPEAKER_VOLUME); | 150 | sh_dac_output(0, DAC_SPEAKER_VOLUME); |
151 | sh_dac_disable(DAC_SPEAKER_VOLUME); | 151 | sh_dac_disable(DAC_SPEAKER_VOLUME); |
152 | v8 = ctrl_inb(DACR); | 152 | v8 = __raw_readb(DACR); |
153 | v8 &= ~DACR_DAE; | 153 | v8 &= ~DACR_DAE; |
154 | ctrl_outb(v8,DACR); | 154 | __raw_writeb(v8,DACR); |
155 | 155 | ||
156 | v8 = ctrl_inb(SCPDR); | 156 | v8 = __raw_readb(SCPDR); |
157 | v8 |= SCPDR_TS_SCAN_X | SCPDR_TS_SCAN_Y; | 157 | v8 |= SCPDR_TS_SCAN_X | SCPDR_TS_SCAN_Y; |
158 | v8 &= ~SCPDR_TS_SCAN_ENABLE; | 158 | v8 &= ~SCPDR_TS_SCAN_ENABLE; |
159 | ctrl_outb(v8, SCPDR); | 159 | __raw_writeb(v8, SCPDR); |
160 | 160 | ||
161 | v = ctrl_inw(SCPCR); | 161 | v = __raw_readw(SCPCR); |
162 | v &= ~SCPCR_TS_MASK; | 162 | v &= ~SCPCR_TS_MASK; |
163 | v |= SCPCR_TS_ENABLE; | 163 | v |= SCPCR_TS_ENABLE; |
164 | ctrl_outw(v, SCPCR); | 164 | __raw_writew(v, SCPCR); |
165 | } | 165 | } |
166 | device_initcall(hp6xx_devices_setup); | 166 | device_initcall(hp6xx_devices_setup); |
167 | 167 | ||