public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sysfs: make SYSFS_DEPRECATED depend on SYSFS
@ 2007-12-31 18:05 Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2007-12-31 18:05 UTC (permalink / raw)
  To: lkml; +Cc: akpm, gregkh

From: Randy Dunlap <randy.dunlap@oracle.com>

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>
---
 init/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-2.6.24-rc6-mm1.orig/init/Kconfig
+++ linux-2.6.24-rc6-mm1/init/Kconfig
@@ -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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-31 18:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-31 18:05 [PATCH] sysfs: make SYSFS_DEPRECATED depend on SYSFS Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox