aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2004-10-31 21:06:49 -0800
committerGreg Kroah-Hartman <greg@kroah.com>2004-10-31 21:06:49 -0800
commit6f1780569c67765e1fef8754fc1812714b85e4d0 (patch)
treec47aa542f4209b1349131263bc10f222a64d23b5 /lib
parente07d4e6100616189478dda62e0a261760f2cf4ff (diff)
downloadhistory-6f1780569c67765e1fef8754fc1812714b85e4d0.tar.gz
[PATCH] take me home, hotplug_path[]
Move hotplug_path[] out of kmod.[ch] to kobject_uevent.[ch] where it belongs now. At some time in the future we should fix the remaining bad hotplug calls (no SEQNUM, no netlink uevent): ./drivers/input/input.c (no DEVPATH on some hotplug events!) ./drivers/pnp/pnpbios/core.c ./drivers/s390/crypto/z90main.c Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/kobject_uevent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c
index f352f37704199e..c372e4767383ea 100644
--- a/lib/kobject_uevent.c
+++ b/lib/kobject_uevent.c
@@ -177,6 +177,7 @@ static inline int send_uevent(const char *signal, const char *obj,
#ifdef CONFIG_HOTPLUG
+char hotplug_path[HOTPLUG_PATH_LEN] = "/sbin/hotplug";
u64 hotplug_seqnum;
static spinlock_t sequence_lock = SPIN_LOCK_UNLOCKED;