driver-core: set default SYSFS_DEPRECATED=n

From: Kay Sievers
Date: Thu Apr 16 2009 - 12:40:44 EST


From: Kay Sievers <kay.sievers@xxxxxxxx>
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@xxxxxxxx>
---
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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/