Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1c3a056 authored by Wim Van Sebroeck's avatar Wim Van Sebroeck
Browse files

[WATCHDOG] pcwd.c card_found-- fix.



When doing a __devexit from a card we should also
decrement the cards_found counter.

Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent fd41fa61
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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--;
}

/*