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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
03347e2592
commit
f6ee649f4b
@ -616,13 +616,13 @@ config SYSFS_DEPRECATED
|
|||||||
bool
|
bool
|
||||||
|
|
||||||
config SYSFS_DEPRECATED_V2
|
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
|
depends on SYSFS
|
||||||
default y
|
default n
|
||||||
select SYSFS_DEPRECATED
|
select SYSFS_DEPRECATED
|
||||||
help
|
help
|
||||||
This option switches the layout of sysfs to the deprecated
|
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
|
The current sysfs layout features a unified device tree at
|
||||||
/sys/devices/, which is able to express a hierarchy between
|
/sys/devices/, which is able to express a hierarchy between
|
||||||
|
Loading…
x
Reference in New Issue
Block a user