aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/Kconfig
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2010-10-08 01:54:57 -0400
committerLen Brown <len.brown@intel.com>2010-10-15 22:02:38 -0400
commit1b3d4c3b9a597e216c08bff2c59a8de872ef2d09 (patch)
tree51844bb5a61d5412e290e87bcea8a37043f2ee29 /drivers/acpi/Kconfig
parentcd07202cc8262e1669edff0d97715f3dd9260917 (diff)
ACPI ac/battery/sbs: sysfs I/F always built in, procfs I/F disabled by default
ACPI AC/Battery/SBS driver has different kernel option for procfs and sysfs I/F. This patch, 1. Change CONFIG_ACPI_PROCFS_POWER to 'n' by default so that we can remove it in the next release or two. 2. Remove CONFIG_ACPI_SYSFS_POWER and always build in the sysfs I/F of these drivers. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/Kconfig')
-rw-r--r--drivers/acpi/Kconfig11
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index 88681aca88c5..0f9de2b44c0c 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -66,7 +66,6 @@ config ACPI_PROCFS
66config ACPI_PROCFS_POWER 66config ACPI_PROCFS_POWER
67 bool "Deprecated power /proc/acpi directories" 67 bool "Deprecated power /proc/acpi directories"
68 depends on PROC_FS 68 depends on PROC_FS
69 default y
70 help 69 help
71 For backwards compatibility, this option allows 70 For backwards compatibility, this option allows
72 deprecated power /proc/acpi/ directories to exist, even when 71 deprecated power /proc/acpi/ directories to exist, even when
@@ -90,13 +89,6 @@ config ACPI_POWER_METER
90 To compile this driver as a module, choose M here: 89 To compile this driver as a module, choose M here:
91 the module will be called power-meter. 90 the module will be called power-meter.
92 91
93config ACPI_SYSFS_POWER
94 bool "Future power /sys interface"
95 select POWER_SUPPLY
96 default y
97 help
98 Say N to disable power /sys interface
99
100config ACPI_EC_DEBUGFS 92config ACPI_EC_DEBUGFS
101 tristate "EC read/write access through /sys/kernel/debug/ec" 93 tristate "EC read/write access through /sys/kernel/debug/ec"
102 default n 94 default n
@@ -136,6 +128,7 @@ config ACPI_PROC_EVENT
136config ACPI_AC 128config ACPI_AC
137 tristate "AC Adapter" 129 tristate "AC Adapter"
138 depends on X86 130 depends on X86
131 select POWER_SUPPLY
139 default y 132 default y
140 help 133 help
141 This driver supports the AC Adapter object, which indicates 134 This driver supports the AC Adapter object, which indicates
@@ -148,6 +141,7 @@ config ACPI_AC
148config ACPI_BATTERY 141config ACPI_BATTERY
149 tristate "Battery" 142 tristate "Battery"
150 depends on X86 143 depends on X86
144 select POWER_SUPPLY
151 default y 145 default y
152 help 146 help
153 This driver adds support for battery information through 147 This driver adds support for battery information through
@@ -364,6 +358,7 @@ config ACPI_HOTPLUG_MEMORY
364config ACPI_SBS 358config ACPI_SBS
365 tristate "Smart Battery System" 359 tristate "Smart Battery System"
366 depends on X86 360 depends on X86
361 select POWER_SUPPLY
367 help 362 help
368 This driver supports the Smart Battery System, another 363 This driver supports the Smart Battery System, another
369 type of access to battery information, found on some laptops. 364 type of access to battery information, found on some laptops.