diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2008-12-11 21:03:59 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2008-12-11 21:03:59 +0000 |
commit | 362b22faf75c217cd9cdaf1f851b28c1c4cf5286 (patch) | |
tree | 77ff6ed6d8637cc0c0d162530d93b84571874937 | |
parent | 2fcb88c87b6bd6c501fff312d92fbeac49aa436c (diff) |
One more place whe old-but-not-ancient hotplug is used.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5504 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r-- | drivers/dahdi/xpp/xbus-sysfs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/dahdi/xpp/xbus-sysfs.c b/drivers/dahdi/xpp/xbus-sysfs.c index f74c811..4dd0f0d 100644 --- a/drivers/dahdi/xpp/xbus-sysfs.c +++ b/drivers/dahdi/xpp/xbus-sysfs.c @@ -319,7 +319,7 @@ void astribank_uevent_send(xbus_t *xbus, enum kobject_action act) 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 @@ void astribank_uevent_send(xbus_t *xbus, enum kobject_action act) }; kobject_hotplug(str[act], kobj); } +#elif defined(OLD_HOTPLUG_SUPPORT) + kobject_hotplug(kobj, act); #else kobject_uevent(kobj, act); #endif |