diff options
Diffstat (limited to 'drivers/watchdog/it87_wdt.c')
-rw-r--r-- | drivers/watchdog/it87_wdt.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/watchdog/it87_wdt.c b/drivers/watchdog/it87_wdt.c index afb8af397a9f..cc133c531d08 100644 --- a/drivers/watchdog/it87_wdt.c +++ b/drivers/watchdog/it87_wdt.c | |||
@@ -188,8 +188,8 @@ static inline int superio_inb(int reg) | |||
188 | 188 | ||
189 | static inline void superio_outb(int val, int reg) | 189 | static inline void superio_outb(int val, int reg) |
190 | { | 190 | { |
191 | outb(reg, REG); | 191 | outb(reg, REG); |
192 | outb(val, VAL); | 192 | outb(val, VAL); |
193 | } | 193 | } |
194 | 194 | ||
195 | static inline int superio_inw(int reg) | 195 | static inline int superio_inw(int reg) |
@@ -204,10 +204,10 @@ static inline int superio_inw(int reg) | |||
204 | 204 | ||
205 | static inline void superio_outw(int val, int reg) | 205 | static inline void superio_outw(int val, int reg) |
206 | { | 206 | { |
207 | outb(reg++, REG); | 207 | outb(reg++, REG); |
208 | outb(val >> 8, VAL); | 208 | outb(val >> 8, VAL); |
209 | outb(reg, REG); | 209 | outb(reg, REG); |
210 | outb(val, VAL); | 210 | outb(val, VAL); |
211 | } | 211 | } |
212 | 212 | ||
213 | /* watchdog timer handling */ | 213 | /* watchdog timer handling */ |