aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/alim7101_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/alim7101_wdt.c')
-rw-r--r--drivers/watchdog/alim7101_wdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/watchdog/alim7101_wdt.c b/drivers/watchdog/alim7101_wdt.c
index 049c9122e40d..a045ef869439 100644
--- a/drivers/watchdog/alim7101_wdt.c
+++ b/drivers/watchdog/alim7101_wdt.c
@@ -125,7 +125,7 @@ static void wdt_timer_ping(unsigned long data)
125 125
126static void wdt_change(int writeval) 126static void wdt_change(int writeval)
127{ 127{
128 char tmp; 128 char tmp;
129 129
130 pci_read_config_byte(alim7101_pmu, ALI_7101_WDT, &tmp); 130 pci_read_config_byte(alim7101_pmu, ALI_7101_WDT, &tmp);
131 if (writeval == WDT_ENABLE) { 131 if (writeval == WDT_ENABLE) {
@@ -198,7 +198,7 @@ static ssize_t fop_write(struct file *file, const char __user *buf,
198 /* now scan */ 198 /* now scan */
199 for (ofs = 0; ofs != count; ofs++) { 199 for (ofs = 0; ofs != count; ofs++) {
200 char c; 200 char c;
201 if (get_user(c, buf+ofs)) 201 if (get_user(c, buf + ofs))
202 return -EFAULT; 202 return -EFAULT;
203 if (c == 'V') 203 if (c == 'V')
204 wdt_expect_close = 42; 204 wdt_expect_close = 42;