aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/char/watchdog/w83697hf_wdt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/watchdog/w83697hf_wdt.c b/drivers/char/watchdog/w83697hf_wdt.c
index c31121eab3c9..4f81943fe7fa 100644
--- a/drivers/char/watchdog/w83697hf_wdt.c
+++ b/drivers/char/watchdog/w83697hf_wdt.c
@@ -321,7 +321,7 @@ wdt_init(void)
321 WATCHDOG_TIMEOUT); 321 WATCHDOG_TIMEOUT);
322 } 322 }
323 323
324 if (!request_region(wdt_io, 1, WATCHDOG_NAME)) { 324 if (!request_region(wdt_io, 2, WATCHDOG_NAME)) {
325 printk (KERN_ERR PFX "I/O address 0x%04x already in use\n", 325 printk (KERN_ERR PFX "I/O address 0x%04x already in use\n",
326 wdt_io); 326 wdt_io);
327 ret = -EIO; 327 ret = -EIO;
@@ -352,7 +352,7 @@ out:
352unreg_reboot: 352unreg_reboot:
353 unregister_reboot_notifier(&wdt_notifier); 353 unregister_reboot_notifier(&wdt_notifier);
354unreg_regions: 354unreg_regions:
355 release_region(wdt_io, 1); 355 release_region(wdt_io, 2);
356 goto out; 356 goto out;
357} 357}
358 358
@@ -361,7 +361,7 @@ wdt_exit(void)
361{ 361{
362 misc_deregister(&wdt_miscdev); 362 misc_deregister(&wdt_miscdev);
363 unregister_reboot_notifier(&wdt_notifier); 363 unregister_reboot_notifier(&wdt_notifier);
364 release_region(wdt_io,1); 364 release_region(wdt_io, 2);
365} 365}
366 366
367module_init(wdt_init); 367module_init(wdt_init);