]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sysfs: make SYSFS_DEPRECATED depend on SYSFS
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 31 Dec 2007 18:05:34 +0000 (10:05 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:41 +0000 (20:40 -0800)
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>
init/Kconfig

index b9d11a899b8861576be26f883882c969d170701f..f5becd2a12f6eaf02ed9a3f8c866c5cdcfb4838f 100644 (file)
@@ -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