From: Randy Dunlap Date: Mon, 31 Dec 2007 18:05:34 +0000 (-0800) Subject: sysfs: make SYSFS_DEPRECATED depend on SYSFS X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9148fe8767dc8612b2e66d11126744d6436cc94e;p=openwrt%2Fstaging%2Fblogic.git sysfs: make SYSFS_DEPRECATED depend on SYSFS Make SYSFS_DEPRECATED depend on SYSFS since files that check CONFIG_SYSFS_DEPRECATED don't check for CONFIG_SYSFS first. Also don't prompt user about SYSFS_DEPRECATED if SYSFS=n. Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman --- diff --git a/init/Kconfig b/init/Kconfig index b9d11a899b88..f5becd2a12f6 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -363,6 +363,7 @@ config CGROUP_CPUACCT config SYSFS_DEPRECATED bool "Create deprecated sysfs files" + depends on SYSFS default y help This option creates deprecated symlinks such as the