[PATCH] CONFIG_NET=n build fix

Cc: Greg KH <greg@kroah.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Andrew Morton 2006-06-23 02:05:47 -07:00 committed by Linus Torvalds
parent deb0e9b234
commit 57ae250861
1 changed files with 1 additions and 1 deletions

View File

@ -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",