mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* driver-core: set default SYSFS_DEPRECATED=n
@ 2009-04-16 16:40 Kay Sievers
  0 siblings, 0 replies; only message in thread
From: Kay Sievers @ 2009-04-16 16:40 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel

From: Kay Sievers <kay.sievers@vrfy.org>
Subject: driver-core: set default SYSFS_DEPRECATED=n

All recent distros depend on the non-deprecated sysfs layout, so
change the default value of the option to reflect that.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
---
 init/Kconfig |   10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

--- a/init/Kconfig
+++ b/init/Kconfig
@@ -612,16 +612,12 @@ config MM_OWNER
 	bool
 
 config SYSFS_DEPRECATED
-	bool
-
-config SYSFS_DEPRECATED_V2
-	bool "Create deprecated sysfs layout for older userspace tools"
+	bool "remove sysfs features which may confuse old userspace tools"
 	depends on SYSFS
-	default y
-	select SYSFS_DEPRECATED
+	default n
 	help
 	  This option switches the layout of sysfs to the deprecated
-	  version.
+	  version. Do not use it on recent distributions.
 
 	  The current sysfs layout features a unified device tree at
 	  /sys/devices/, which is able to express a hierarchy between



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

only message in thread, other threads:[~2009-04-16 16:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-16 16:40 driver-core: set default SYSFS_DEPRECATED=n Kay Sievers

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

all inboxes | Powered by JetHome®