[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20061028184848.GH9973@localhost>
Date: Sun, 29 Oct 2006 03:48:48 +0900
From: Akinobu Mita <akinobu.mita@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Kai Germaschewski <kai.germaschewski@....de>,
Karsten Keil <kkeil@...e.de>
Subject: [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@....de>
Cc: Karsten Keil <kkeil@...e.de>
Signed-off-by: Akinobu Mita <akinobu.mita@...il.com>
drivers/isdn/hardware/avm/t1isa.c | 1 +
1 file changed, 1 insertion(+)
Index: work-fault-inject/drivers/isdn/hardware/avm/t1isa.c
===================================================================
--- work-fault-inject.orig/drivers/isdn/hardware/avm/t1isa.c
+++ work-fault-inject/drivers/isdn/hardware/avm/t1isa.c
@@ -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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists