isdn: fix missing unregister_capi_driver
PATCH 1/1 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]>
Cc Karsten Keil <[email protected]>
Signed-off-by Akinobu Mita <[email protected]>
drivers/isdn/hardware/avm/t1isa.c | 1 + 1 file changed, 1 insertion(+)
drivers/isdn/hardware/avm/t1isa.c +1 -0
@@ -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 ;