diff options
| author | Ingo Molnar <mingo@elte.hu> | 2008-03-04 08:54:47 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-03-04 17:47:04 -0500 |
| commit | d47846c5866b7d98a1173c86a39d810a06647329 (patch) | |
| tree | 626b8247eda2a3746cdc035c69fbf748dc7bc0fe /init | |
| parent | 024440d2ec9712c077cd315de7ae6bc9f6f14f1b (diff) | |
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>
Diffstat (limited to 'init')
| -rw-r--r-- | init/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index e6606e6e99e4..98ebf3725412 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
| @@ -367,9 +367,13 @@ config RESOURCE_COUNTERS | |||
| 367 | depends on CGROUPS | 367 | depends on CGROUPS |
| 368 | 368 | ||
| 369 | config SYSFS_DEPRECATED | 369 | config SYSFS_DEPRECATED |
| 370 | bool | ||
| 371 | |||
| 372 | config SYSFS_DEPRECATED_V2 | ||
| 370 | bool "Create deprecated sysfs files" | 373 | bool "Create deprecated sysfs files" |
| 371 | depends on SYSFS | 374 | depends on SYSFS |
| 372 | default y | 375 | default y |
| 376 | select SYSFS_DEPRECATED | ||
| 373 | help | 377 | help |
| 374 | This option creates deprecated symlinks such as the | 378 | This option creates deprecated symlinks such as the |
| 375 | "device"-link, the <subsystem>:<name>-link, and the | 379 | "device"-link, the <subsystem>:<name>-link, and the |
