Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67938
b: refs/heads/master
c: 6a8d8ab
h: refs/heads/master
v: v3
  • Loading branch information
Kay Sievers authored and Greg Kroah-Hartman committed Oct 12, 2007
1 parent 45cd1ed commit 6f3c431
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7eff2e7a8b65c25920207324e56611150eb1cd9a
refs/heads/master: 6a8d8abb6e4497ae4132a9b1f0a956ea501f1c46
8 changes: 8 additions & 0 deletions trunk/drivers/base/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
menu "Generic Driver Options"

config UEVENT_HELPER_PATH
string "path to uevent helper"
depends on HOTPLUG
default "/sbin/hotplug"
help
Path to uevent helper program forked by the kernel for
every uevent.

config STANDALONE
bool "Select only drivers that don't need compile-time external firmware" if EXPERIMENTAL
default y
Expand Down
2 changes: 1 addition & 1 deletion trunk/lib/kobject_uevent.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const char *kobject_actions[] = {

#if defined(CONFIG_HOTPLUG)
u64 uevent_seqnum;
char uevent_helper[UEVENT_HELPER_PATH_LEN] = "/sbin/hotplug";
char uevent_helper[UEVENT_HELPER_PATH_LEN] = CONFIG_UEVENT_HELPER_PATH;
static DEFINE_SPINLOCK(sequence_lock);
#if defined(CONFIG_NET)
static struct sock *uevent_sock;
Expand Down

0 comments on commit 6f3c431

Please sign in to comment.