Skip to contentSkip to conversation

sysfs: make SYSFS_DEPRECATED depend on SYSFS

PATCH New Randy Dunlap 1 participant 1 message Dec 31, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sysfs: make SYSFS_DEPRECATED depend on SYSFS

From: Randy Dunlap <[email protected]>

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.

---
 init/Kconfig |    1 +
 1 file changed, 1 insertion(+)
init/Kconfig +1 -0
@@ -349,6 +349,7 @@ config RESOURCE_COUNTERS
 
 config SYSFS_DEPRECATED
 	bool "Create deprecated sysfs files"
+	depends on SYSFS
 	default y
 	help
 	  This option creates deprecated symlinks such as the