diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2005-12-10 13:36:24 (GMT) |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2006-02-12 13:46:11 (GMT) |
commit | f1c3a0567aa5086e755e58385740f9ece911c06e (patch) | |
tree | 6e3848ed7c80d4fe2b048b4bd5145f469efabc69 /drivers | |
parent | fd41fa616f21efc36eb80696475ceb33ea047a6a (diff) | |
download | linux-fsl-qoriq-f1c3a0567aa5086e755e58385740f9ece911c06e.tar.xz |
[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')
-rw-r--r-- | drivers/char/watchdog/pcwd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/watchdog/pcwd.c b/drivers/char/watchdog/pcwd.c index 85c94b2..3329cbf 100644 --- a/drivers/char/watchdog/pcwd.c +++ b/drivers/char/watchdog/pcwd.c @@ -828,6 +828,7 @@ static void __devexit pcwatchdog_exit(void) unregister_reboot_notifier(&pcwd_notifier); release_region(current_readport, (revision == PCWD_REVISION_A) ? 2 : 4); current_readport = 0x0000; + cards_found--; } /* |