diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2007-11-19 08:33:45 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-11-19 11:21:50 -0500 |
commit | fdcedbba2f98c94bfbac9f6e712ab765f997b8dc (patch) | |
tree | 438968c5718fa25eebd332d7ac7a4e2ee4114a29 /drivers/acpi/Kconfig | |
parent | 2ffbb8377c7a0713baf6644e285adc27a5654582 (diff) |
ACPI: Split out control for /proc/acpi entries from battery, ac, and sbs.
Introduce new ACPI_PROCFS_POWER (default Yes) config option and move
procfs code in battery, ac, and sbs drivers under it.
This is done to allow ACPI_PROCFS to be default No.
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/Kconfig')
-rw-r--r-- | drivers/acpi/Kconfig | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 087a7028ae84..497e92d3833b 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig | |||
@@ -69,7 +69,21 @@ config ACPI_PROCFS | |||
69 | and functions which do not yet exist in /sys. | 69 | and functions which do not yet exist in /sys. |
70 | 70 | ||
71 | Say N to delete /proc/acpi/ files that have moved to /sys/ | 71 | Say N to delete /proc/acpi/ files that have moved to /sys/ |
72 | 72 | config ACPI_PROCFS_POWER | |
73 | bool "Deprecated power /proc/acpi folders" | ||
74 | depends on PROC_FS | ||
75 | default y | ||
76 | ---help--- | ||
77 | For backwards compatibility, this option allows | ||
78 | deprecated power /proc/acpi/ folders to exist, even when | ||
79 | they have been replaced by functions in /sys. | ||
80 | The deprecated folders (and their replacements) include: | ||
81 | /proc/acpi/battery/* (/sys/class/power_supply/*) | ||
82 | /proc/acpi/ac_adapter/* (sys/class/power_supply/*) | ||
83 | This option has no effect on /proc/acpi/ folders | ||
84 | and functions, which do not yet exist in /sys | ||
85 | |||
86 | Say N to delete power /proc/acpi/ folders that have moved to /sys/ | ||
73 | config ACPI_PROC_EVENT | 87 | config ACPI_PROC_EVENT |
74 | bool "Deprecated /proc/acpi/event support" | 88 | bool "Deprecated /proc/acpi/event support" |
75 | depends on PROC_FS | 89 | depends on PROC_FS |