]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - kernel/sysctl.c
[PATCH] CONFIG_NET=n build fix
[karo-tx-linux.git] / kernel / sysctl.c
index 072ac446810aacac453cd66a9055aa04e67d0ac5..eb8bd214e7d7b8f682819ffb5e29b75c28c24d3c 100644 (file)
@@ -399,7 +399,7 @@ static ctl_table kern_table[] = {
                .strategy       = &sysctl_string,
        },
 #endif
-#ifdef CONFIG_HOTPLUG
+#if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET)
        {
                .ctl_name       = KERN_HOTPLUG,
                .procname       = "hotplug",