From: Andrew Morton Date: Fri, 23 Jun 2006 09:05:47 +0000 (-0700) Subject: [PATCH] CONFIG_NET=n build fix X-Git-Tag: v2.6.18-rc1~1081^2~39 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=57ae2508610d50893cb3e3bbb869ff70ff724a2a;p=linux-2.6-omap-h63xx.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 072ac446810..eb8bd214e7d 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",