diff options
author | Zhang Rui <rui.zhang@intel.com> | 2007-01-28 22:02:30 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-01-28 22:33:06 -0500 |
commit | b981c591891dc8885de36498d38fa8d8a5481069 (patch) | |
tree | 9af1706c4d0c339c71e8a336b808aa65470fcee2 | |
parent | bb0958544f3c7c016b2a3025ab3694363e403aa1 (diff) |
ACPI: add a Kconfig option for ACPI procfs interface
Add a kconfig option CONFIG_ACPI_PROCFS to make procfs interface
a configurable attribute of ACPI.
No procfs interface is actually deprecated,
and no sysfs interface is added in this patch.
CONGI_ACPI_PROCFS is used to mark procfs interface as deprecated
once the same function is duplicated in sysfs.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r-- | Documentation/feature-removal-schedule.txt | 9 | ||||
-rw-r--r-- | drivers/acpi/Kconfig | 10 |
2 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index 30f3c8c9c12a..9bc37529f4cd 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
@@ -256,3 +256,12 @@ Why: Speedstep-centrino driver with ACPI hooks and acpi-cpufreq driver are | |||
256 | Who: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> | 256 | Who: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> |
257 | 257 | ||
258 | --------------------------- | 258 | --------------------------- |
259 | |||
260 | What: ACPI procfs interface | ||
261 | When: July 2007 | ||
262 | Why: After ACPI sysfs conversion, ACPI attributes will be duplicated | ||
263 | in sysfs and the ACPI procfs interface should be removed. | ||
264 | Who: Zhang Rui <rui.zhang@intel.com> | ||
265 | |||
266 | --------------------------- | ||
267 | |||
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 0f9d4be7ed75..1f82ceba4646 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig | |||
@@ -77,6 +77,16 @@ config ACPI_SLEEP_PROC_SLEEP | |||
77 | Create /proc/acpi/sleep | 77 | Create /proc/acpi/sleep |
78 | Deprecated by /sys/power/state | 78 | Deprecated by /sys/power/state |
79 | 79 | ||
80 | config ACPI_PROCFS | ||
81 | bool "Procfs interface (deprecated)" | ||
82 | depends on ACPI | ||
83 | default y | ||
84 | ---help--- | ||
85 | Procfs interface for ACPI is made optional for back-compatible. | ||
86 | As the same functions are duplicated in sysfs interface | ||
87 | and this proc interface will be removed some time later, | ||
88 | it's marked as deprecated. | ||
89 | |||
80 | config ACPI_AC | 90 | config ACPI_AC |
81 | tristate "AC Adapter" | 91 | tristate "AC Adapter" |
82 | depends on X86 | 92 | depends on X86 |