summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2019-06-20 09:33:53 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-06-22 11:32:34 +0200
commitfb683f47a9fb824dc11d529119354d1a88a96ca2 (patch)
tree4c362c47b3e1842d74a75353314fea46f18d429d /drivers/acpi
parent9e0babf2c06c73cda2c0cd37a1653d823adb40ec (diff)
downloadlinux-fb683f47a9fb824dc11d529119354d1a88a96ca2.tar.gz
linux-fb683f47a9fb824dc11d529119354d1a88a96ca2.tar.bz2
linux-fb683f47a9fb824dc11d529119354d1a88a96ca2.zip
ACPI: Make AC and battery drivers available on !X86
ACPI battery and AC devices can be found in arm64 laptops as well, so drop the Kconfig dependency on X86 for their drivers. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Tested-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/Kconfig2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index 283ee94224c6..4e1e517a33bc 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -155,7 +155,6 @@ config ACPI_EC_DEBUGFS
config ACPI_AC
tristate "AC Adapter"
- depends on X86
select POWER_SUPPLY
default y
help
@@ -168,7 +167,6 @@ config ACPI_AC
config ACPI_BATTERY
tristate "Battery"
- depends on X86
select POWER_SUPPLY
default y
help