[zaptel-commits] tzafrir: branch 1.2 r4447 - /branches/1.2/zaptel-base.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Sun Aug 3 06:33:32 CDT 2008


Author: tzafrir
Date: Sun Aug  3 06:33:31 2008
New Revision: 4447

URL: http://svn.digium.com/view/zaptel?view=rev&rev=4447
Log:
Fix build on kernels 2.6.2-2.6.13: class_simple_device_remove

This function only needs the device as its parameter.

Modified:
    branches/1.2/zaptel-base.c

Modified: branches/1.2/zaptel-base.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/zaptel-base.c?view=diff&rev=4447&r1=4446&r2=4447
==============================================================================
--- branches/1.2/zaptel-base.c (original)
+++ branches/1.2/zaptel-base.c Sun Aug  3 06:33:31 2008
@@ -178,7 +178,7 @@
 	class_device_destroy(class, devt)
 #else
 #define CLASS_DEV_DESTROY(class, devt) \
-	class_simple_device_remove(class, devt)
+	class_simple_device_remove(devt)
 #endif
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,13)




More information about the zaptel-commits mailing list