summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/Kconfig
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2007-09-26 19:43:04 +0400
committerLen Brown <len.brown@intel.com>2007-09-27 15:50:22 -0400
commitd7380965752505951668e85de59c128d1d6fd21f (patch)
treeaeb4bf05e111047c17619e01abe6dbfce67364a4 /drivers/acpi/Kconfig
parentaa650bbdcb94bde4292eabc44490970825c98669 (diff)
downloadop-kernel-dev-d7380965752505951668e85de59c128d1d6fd21f.zip
op-kernel-dev-d7380965752505951668e85de59c128d1d6fd21f.tar.gz
ACPI: Battery: Add sysfs support
Refer to Documentation/power_supply_class.txt for interface description. 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/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index 4875f01..8560bc3 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -97,7 +97,7 @@ config ACPI_AC
config ACPI_BATTERY
tristate "Battery"
- depends on X86
+ depends on X86 && POWER_SUPPLY
default y
help
This driver adds support for battery information through
OpenPOWER on IntegriCloud