aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/watchdog/pcwd.c
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2005-12-10 08:36:24 -0500
committerWim Van Sebroeck <wim@iguana.be>2006-02-12 08:46:11 -0500
commitf1c3a0567aa5086e755e58385740f9ece911c06e (patch)
tree6e3848ed7c80d4fe2b048b4bd5145f469efabc69 /drivers/char/watchdog/pcwd.c
parentfd41fa616f21efc36eb80696475ceb33ea047a6a (diff)
[WATCHDOG] pcwd.c card_found-- fix.
When doing a __devexit from a card we should also decrement the cards_found counter. Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/char/watchdog/pcwd.c')
-rw-r--r--drivers/char/watchdog/pcwd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/watchdog/pcwd.c b/drivers/char/watchdog/pcwd.c
index 85c94b205df1..3329cbffdb34 100644
--- a/drivers/char/watchdog/pcwd.c
+++ b/drivers/char/watchdog/pcwd.c
@@ -828,6 +828,7 @@ static void __devexit pcwatchdog_exit(void)
828 unregister_reboot_notifier(&pcwd_notifier); 828 unregister_reboot_notifier(&pcwd_notifier);
829 release_region(current_readport, (revision == PCWD_REVISION_A) ? 2 : 4); 829 release_region(current_readport, (revision == PCWD_REVISION_A) ? 2 : 4);
830 current_readport = 0x0000; 830 current_readport = 0x0000;
831 cards_found--;
831} 832}
832 833
833/* 834/*