[PATCH] isdn: fix missing unregister_capi_driver

unregister_capi_driver() needs to be called in module cleanup.
(It fixes data corruption by reloading t1isa driver)

Cc: Kai Germaschewski <[email protected]>
Acked-by: Karsten Keil <[email protected]>
Signed-off-by: Akinobu Mita <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Akinobu Mita 2006-12-08 02:39:33 -08:00 • committed by Linus Torvalds
commit ba6d14aff4

View file

@ -584,6 +584,7 @@ static void __exit t1isa_exit(void)
{
int i;
unregister_capi_driver(&capi_driver_t1isa);
for (i = 0; i < MAX_CARDS; i++) {
if (!io[i])
break;