summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2007-12-31 19:05:34 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-25 05:40:41 +0100
commit9148fe8767dc8612b2e66d11126744d6436cc94e (patch)
tree7ab2a2120764325ca525eada113a8e3b4e205063 /init
parentDriver core: use LIST_HEAD instead of call to INIT_LIST_HEAD in __init (diff)
downloadlinux-9148fe8767dc8612b2e66d11126744d6436cc94e.tar.xz
linux-9148fe8767dc8612b2e66d11126744d6436cc94e.zip
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 <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig1
1 files changed, 1 insertions, 0 deletions
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