kobject: Make support for uevent_helper optional.
[deliverable/linux.git] / kernel / sysctl.c
index 74f5b580fe34904fa4d9bcb2790545a323367773..bc966a8ffc3e442bb975be79fecaa255a85f7b8a 100644 (file)
@@ -643,7 +643,7 @@ static struct ctl_table kern_table[] = {
                .extra2         = &one,
        },
 #endif
-
+#ifdef CONFIG_UEVENT_HELPER
        {
                .procname       = "hotplug",
                .data           = &uevent_helper,
@@ -651,7 +651,7 @@ static struct ctl_table kern_table[] = {
                .mode           = 0644,
                .proc_handler   = proc_dostring,
        },
-
+#endif
 #ifdef CONFIG_CHR_DEV_SG
        {
                .procname       = "sg-big-buff",
This page took 0.026189 seconds and 5 git commands to generate.