diff options
-rw-r--r-- | kernel/sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 072ac446810a..eb8bd214e7d7 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -399,7 +399,7 @@ static ctl_table kern_table[] = { | |||
399 | .strategy = &sysctl_string, | 399 | .strategy = &sysctl_string, |
400 | }, | 400 | }, |
401 | #endif | 401 | #endif |
402 | #ifdef CONFIG_HOTPLUG | 402 | #if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET) |
403 | { | 403 | { |
404 | .ctl_name = KERN_HOTPLUG, | 404 | .ctl_name = KERN_HOTPLUG, |
405 | .procname = "hotplug", | 405 | .procname = "hotplug", |