提交 9148fe87 编写于 作者: R Randy Dunlap 提交者: 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: NRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册