summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2007-12-31 10:05:34 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-24 20:40:41 -0800
commit9148fe8767dc8612b2e66d11126744d6436cc94e (patch)
tree7ab2a2120764325ca525eada113a8e3b4e205063 /init
parentdb1118a460c7bfd20278955cbf56c0b283a9701f (diff)
downloadop-kernel-dev-9148fe8767dc8612b2e66d11126744d6436cc94e.zip
op-kernel-dev-9148fe8767dc8612b2e66d11126744d6436cc94e.tar.gz
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 b9d11a8..f5becd2 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
OpenPOWER on IntegriCloud