diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2007-12-31 13:05:34 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 23:40:41 -0500 |
commit | 9148fe8767dc8612b2e66d11126744d6436cc94e (patch) | |
tree | 7ab2a2120764325ca525eada113a8e3b4e205063 /init | |
parent | db1118a460c7bfd20278955cbf56c0b283a9701f (diff) |
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/Kconfig | 1 |
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 | |||
363 | 363 | ||
364 | config SYSFS_DEPRECATED | 364 | config SYSFS_DEPRECATED |
365 | bool "Create deprecated sysfs files" | 365 | bool "Create deprecated sysfs files" |
366 | depends on SYSFS | ||
366 | default y | 367 | default y |
367 | help | 368 | help |
368 | This option creates deprecated symlinks such as the | 369 | This option creates deprecated symlinks such as the |