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;
unreg_reboot:
unregister_reboot_notifier(&wdt_notifier);
unreg_regions:
- release_region(wdt_io, 1);
+ release_region(wdt_io, 2);
goto out;
}
{
misc_deregister(&wdt_miscdev);
unregister_reboot_notifier(&wdt_notifier);
- release_region(wdt_io,1);
+ release_region(wdt_io, 2);
}
module_init(wdt_init);