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)
commit9148fe8767dc8612b2e66d11126744d6436cc94e
tree7ab2a2120764325ca525eada113a8e3b4e205063
parentdb1118a460c7bfd20278955cbf56c0b283a9701f
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>
init/Kconfig