Skip to content

Commit

Permalink
sysfs: make SYSFS_DEPRECATED depend on SYSFS
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Greg Kroah-Hartman committed Jan 25, 2008
1 parent db1118a commit 9148fe8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9148fe8

Please sign in to comment.