mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-09 07:23:14 +00:00
sysfs: CONFIG_SYSFS_DEPRECATED fix
CONFIG_SYSFS_DEPRECATED=y changed its meaning recently and causes regressions in working setups that had SYSFS_DEPRECATED disabled. so rename it to SYSFS_DEPRECATED_V2 so that testers pick up the new default via 'make oldconfig', even if their old .config's disabled CONFIG_SYSFS_DEPRECATED ... Signed-off-by: Ingo Molnar <mingo@elte.hu> Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
024440d2ec
commit
d47846c586
@ -367,9 +367,13 @@ config RESOURCE_COUNTERS
|
|||||||
depends on CGROUPS
|
depends on CGROUPS
|
||||||
|
|
||||||
config SYSFS_DEPRECATED
|
config SYSFS_DEPRECATED
|
||||||
|
bool
|
||||||
|
|
||||||
|
config SYSFS_DEPRECATED_V2
|
||||||
bool "Create deprecated sysfs files"
|
bool "Create deprecated sysfs files"
|
||||||
depends on SYSFS
|
depends on SYSFS
|
||||||
default y
|
default y
|
||||||
|
select SYSFS_DEPRECATED
|
||||||
help
|
help
|
||||||
This option creates deprecated symlinks such as the
|
This option creates deprecated symlinks such as the
|
||||||
"device"-link, the <subsystem>:<name>-link, and the
|
"device"-link, the <subsystem>:<name>-link, and the
|
||||||
|
Loading…
Reference in New Issue
Block a user