projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd41fa6
)
[WATCHDOG] pcwd.c card_found-- fix.
author
Wim Van Sebroeck
<wim@iguana.be>
Sat, 10 Dec 2005 13:36:24 +0000
(14:36 +0100)
committer
Wim Van Sebroeck
<wim@iguana.be>
Sun, 12 Feb 2006 13:46:11 +0000
(14:46 +0100)
When doing a __devexit from a card we should also
decrement the cards_found counter.
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/char/watchdog/pcwd.c
patch
|
blob
|
history
diff --git
a/drivers/char/watchdog/pcwd.c
b/drivers/char/watchdog/pcwd.c
index 85c94b205df15a370965a13a9e81e3e73cd9cd4d..3329cbffdb34a5e4d4f67fca91d737404d138702 100644
(file)
--- 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--;
}
/*