Skip to content

Commit

Permalink
sysfs: CONFIG_SYSFS_DEPRECATED fix
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Kay Sievers <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Ingo Molnar authored and gregkh committed Mar 4, 2008
1 parent 024440d commit d47846c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -367,9 +367,13 @@ config RESOURCE_COUNTERS
depends on CGROUPS

config SYSFS_DEPRECATED
bool

config SYSFS_DEPRECATED_V2
bool "Create deprecated sysfs files"
depends on SYSFS
default y
select SYSFS_DEPRECATED
help
This option creates deprecated symlinks such as the
"device"-link, the <subsystem>:<name>-link, and the
Expand Down

0 comments on commit d47846c

Please sign in to comment.