From: Andrew Morton Date: Fri, 23 Jun 2006 09:05:47 +0000 (-0700) Subject: [PATCH] CONFIG_NET=n build fix X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=57ae2508610d50893cb3e3bbb869ff70ff724a2a;p=linux-beck.git [PATCH] CONFIG_NET=n build fix Cc: Greg KH Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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[] = { .strategy = &sysctl_string, }, #endif -#ifdef CONFIG_HOTPLUG +#if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET) { .ctl_name = KERN_HOTPLUG, .procname = "hotplug",