Skip to content

Commit

Permalink
driver core: set default SYSFS_DEPRECATED=n
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
kaysievers authored and gregkh committed Jun 16, 2009
1 parent 03347e2 commit f6ee649
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -616,13 +616,13 @@ 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
default n
select SYSFS_DEPRECATED
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
Expand Down

0 comments on commit f6ee649

Please sign in to comment.