ACPI: Make AC and battery drivers available on !X86
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 20 Jun 2019 07:33:53 +0000 (09:33 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 22 Jun 2019 09:32:34 +0000 (11:32 +0200)
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>
drivers/acpi/Kconfig

index 283ee94224c6c0270008b99b257a59af7f15819e..4e1e517a33bc7cbc54f9ea7fa21ecfb5596eab0f 100644 (file)
@@ -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