[dahdi-commits] tzafrir: linux/trunk r5504 - /linux/trunk/drivers/dahdi/xpp/xbus-sysfs.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Thu Dec 11 15:03:59 CST 2008
Author: tzafrir
Date: Thu Dec 11 15:03:59 2008
New Revision: 5504
URL: http://svn.digium.com/view/dahdi?view=rev&rev=5504
Log:
One more place whe old-but-not-ancient hotplug is used.
Modified:
linux/trunk/drivers/dahdi/xpp/xbus-sysfs.c
Modified: linux/trunk/drivers/dahdi/xpp/xbus-sysfs.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/xpp/xbus-sysfs.c?view=diff&rev=5504&r1=5503&r2=5504
==============================================================================
--- linux/trunk/drivers/dahdi/xpp/xbus-sysfs.c (original)
+++ linux/trunk/drivers/dahdi/xpp/xbus-sysfs.c Thu Dec 11 15:03:59 2008
@@ -319,7 +319,7 @@
XBUS_DBG(DEVICES, xbus, "SYFS bus_id=%s action=%d\n",
xbus->astribank.bus_id, act);
-#ifdef OLD_HOTPLUG_SUPPORT_269
+#if defined(OLD_HOTPLUG_SUPPORT_269)
{
/* Copy from new kernels lib/kobject_uevent.c */
static const char *str[] = {
@@ -333,6 +333,8 @@
};
kobject_hotplug(str[act], kobj);
}
+#elif defined(OLD_HOTPLUG_SUPPORT)
+ kobject_hotplug(kobj, act);
#else
kobject_uevent(kobj, act);
#endif
More information about the dahdi-commits
mailing list