summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/Kconfig
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2007-09-26 19:44:06 +0400
committerLen Brown <len.brown@intel.com>2007-09-27 15:50:23 -0400
commitd5b4a3d0efa36de31b86d5677dad6c36cb8735d7 (patch)
treefc7029b7c7fbab943b1e226b955d974710948126 /drivers/acpi/Kconfig
parent8bd955320661cfd03ab8d5574d96aa684acd38f6 (diff)
downloadop-kernel-dev-d5b4a3d0efa36de31b86d5677dad6c36cb8735d7.zip
op-kernel-dev-d5b4a3d0efa36de31b86d5677dad6c36cb8735d7.tar.gz
ACPI: AC: Add sysfs interface
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 ba6a61f..a858bc5 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -88,7 +88,7 @@ config ACPI_PROC_EVENT
config ACPI_AC
tristate "AC Adapter"
- depends on X86
+ depends on X86 && POWER_SUPPLY
default y
help
This driver adds support for the AC Adapter object, which indicates
OpenPOWER on IntegriCloud