[dahdi-commits] tzafrir: linux/trunk r5482 - /linux/trunk/drivers/dahdi/dahdi-base.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Thu Dec 11 10:44:20 CST 2008
Author: tzafrir
Date: Thu Dec 11 10:44:19 2008
New Revision: 5482
URL: http://svn.digium.com/view/dahdi?view=rev&rev=5482
Log:
Fixed a typo that broke building dahdi-base with kernels < 2.6.13
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=5482&r1=5481&r2=5482
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Thu Dec 11 10:44:19 2008
@@ -175,7 +175,7 @@
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,13)
#define CLASS_DEV_DESTROY(class, devt) \
class_device_destroy(class, devt)
-#elif LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,9)
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,9)
#define CLASS_DEV_DESTROY(class, devt) \
class_simple_device_remove(devt)
#else
More information about the dahdi-commits
mailing list