[lkml]   [2005]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH 2.6.12-rc4] Add EXPORT_SYMBOL for hotplug_path
    If CONFIG_INPUT is set as a module, it will not load as hotplug_path is
    not a defined symbol. Trivial fix is to EXPORT_SYMBOL hotplug_path.

    Signed-off-by: Tom Rini <>

    Index: lib/kobject_uevent.c
    --- c7d7a187a2125518e655dfeadffd38156239ffc3/lib/kobject_uevent.c (mode:100644)
    +++ uncommitted/lib/kobject_uevent.c (mode:100644)
    @@ -21,6 +21,7 @@
    #include <linux/string.h>
    #include <linux/kobject_uevent.h>
    #include <linux/kobject.h>
    +#include <linux/module.h>
    #include <net/sock.h>

    #define BUFFER_SIZE 1024 /* buffer for the hotplug env */
    @@ -178,6 +179,7 @@

    char hotplug_path[HOTPLUG_PATH_LEN] = "/sbin/hotplug";
    u64 hotplug_seqnum;
    static DEFINE_SPINLOCK(sequence_lock);

    Tom Rini
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-05-19 18:47    [W:0.019 / U:132.216 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site