Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40228
b: refs/heads/master
c: b41a9f5
h: refs/heads/master
v: v3
  • Loading branch information
Samuel Tardieu authored and Wim Van Sebroeck committed Oct 4, 2006
1 parent 9c91ee6 commit 7ea28ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8de6fc1e2023954ec21d4e84d002839afed4cad3
refs/heads/master: b41a9f59d13a4c4c3f0e0b8d9ff15743607096a2
6 changes: 3 additions & 3 deletions trunk/drivers/char/watchdog/w83697hf_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ wdt_init(void)
WATCHDOG_TIMEOUT);
}

if (!request_region(wdt_io, 1, WATCHDOG_NAME)) {
if (!request_region(wdt_io, 2, WATCHDOG_NAME)) {
printk (KERN_ERR PFX "I/O address 0x%04x already in use\n",
wdt_io);
ret = -EIO;
Expand Down Expand Up @@ -352,7 +352,7 @@ wdt_init(void)
unreg_reboot:
unregister_reboot_notifier(&wdt_notifier);
unreg_regions:
release_region(wdt_io, 1);
release_region(wdt_io, 2);
goto out;
}

Expand All @@ -361,7 +361,7 @@ wdt_exit(void)
{
misc_deregister(&wdt_miscdev);
unregister_reboot_notifier(&wdt_notifier);
release_region(wdt_io,1);
release_region(wdt_io, 2);
}

module_init(wdt_init);
Expand Down

0 comments on commit 7ea28ab

Please sign in to comment.