|
@@ -399,7 +399,7 @@ static ctl_table kern_table[] = {
|
|
.strategy = &sysctl_string,
|
|
.strategy = &sysctl_string,
|
|
},
|
|
},
|
|
#endif
|
|
#endif
|
|
-#ifdef CONFIG_HOTPLUG
|
|
|
|
|
|
+#if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET)
|
|
{
|
|
{
|
|
.ctl_name = KERN_HOTPLUG,
|
|
.ctl_name = KERN_HOTPLUG,
|
|
.procname = "hotplug",
|
|
.procname = "hotplug",
|