[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20071231100534.dcbed808.randy.dunlap@oracle.com>
Date:	Mon, 31 Dec 2007 10:05:34 -0800
From:	Randy Dunlap <randy.dunlap@...cle.com>
To:	lkml <linux-kernel@...r.kernel.org>
Cc:	akpm <akpm@...ux-foundation.org>, gregkh@...e.de
Subject: [PATCH] sysfs: make SYSFS_DEPRECATED depend on SYSFS
From: Randy Dunlap <randy.dunlap@...cle.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@...cle.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
