Commit 9148fe87 authored by Randy Dunlap's avatar Randy Dunlap Committed by Greg Kroah-Hartman

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent db1118a4
...@@ -363,6 +363,7 @@ config CGROUP_CPUACCT ...@@ -363,6 +363,7 @@ config CGROUP_CPUACCT
config SYSFS_DEPRECATED config SYSFS_DEPRECATED
bool "Create deprecated sysfs files" bool "Create deprecated sysfs files"
depends on SYSFS
default y default y
help help
This option creates deprecated symlinks such as the This option creates deprecated symlinks such as the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment