[svn-commits] tzafrir: linux/trunk r4445 - /linux/trunk/drivers/dahdi/dahdi-base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sun Jun 22 08:04:12 CDT 2008


Author: tzafrir
Date: Sun Jun 22 08:04:12 2008
New Revision: 4445

URL: http://svn.digium.com/view/dahdi?view=rev&rev=4445
Log:
Add the class_unregioster that was dropped in r4435 to allow unloading
and reloading zaptel.

Modified:
    linux/trunk/drivers/dahdi/dahdi-base.c

Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=4445&r1=4444&r2=4445
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Sun Jun 22 08:04:12 2008
@@ -7686,6 +7686,8 @@
 	class_device_destroy(dahdi_class, MKDEV(DAHDI_MAJOR, 0)); /* ctl */
 	class_destroy(dahdi_class);
 
+	unregister_chrdev(DAHDI_MAJOR, "dahdi");
+
 #ifdef CONFIG_DAHDI_WATCHDOG
 	watchdog_cleanup();
 #endif




More information about the svn-commits mailing list