hotplug2: add a missing cflag, allow hotplug events that are not 'add'
[openwrt/svn-archive/archive.git] / target / linux / brcm47xx-2.6 / patches-2.6.22 / 140-export_uevent_handler.patch
1 Index: linux-2.6.22-rc4/lib/kobject_uevent.c
2 ===================================================================
3 --- linux-2.6.22-rc4.orig/lib/kobject_uevent.c 2007-06-10 21:32:13.000000000 +0100
4 +++ linux-2.6.22-rc4/lib/kobject_uevent.c 2007-06-10 21:33:18.000000000 +0100
5 @@ -29,6 +29,7 @@
6 u64 uevent_seqnum;
7 char uevent_helper[UEVENT_HELPER_PATH_LEN] = "/sbin/hotplug";
8 static DEFINE_SPINLOCK(sequence_lock);
9 +EXPORT_SYMBOL(uevent_helper);
10 #if defined(CONFIG_NET)
11 static struct sock *uevent_sock;
12 #endif