diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2006-12-08 05:39:33 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:29:01 -0500 |
commit | ba6d14aff4112b9518856d2d3979a386cb3a2945 (patch) | |
tree | 213ca90962d4eb365babf7cea3d575d9ad7d1480 /drivers/isdn | |
parent | e2de257cf15d0508d29fa8a54a0dad78de4e75eb (diff) |
[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 <kai.germaschewski@gmx.de>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/hardware/avm/t1isa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/isdn/hardware/avm/t1isa.c b/drivers/isdn/hardware/avm/t1isa.c index e47c60b0a8ec..c925020fe9b7 100644 --- a/drivers/isdn/hardware/avm/t1isa.c +++ b/drivers/isdn/hardware/avm/t1isa.c | |||
@@ -584,6 +584,7 @@ static void __exit t1isa_exit(void) | |||
584 | { | 584 | { |
585 | int i; | 585 | int i; |
586 | 586 | ||
587 | unregister_capi_driver(&capi_driver_t1isa); | ||
587 | for (i = 0; i < MAX_CARDS; i++) { | 588 | for (i = 0; i < MAX_CARDS; i++) { |
588 | if (!io[i]) | 589 | if (!io[i]) |
589 | break; | 590 | break; |