summaryrefslogtreecommitdiffstats
path: root/arm64-acpi-make-ac-and-battery-drivers-available-on-non-x86.patch
diff options
context:
space:
mode:
Diffstat (limited to 'arm64-acpi-make-ac-and-battery-drivers-available-on-non-x86.patch')
-rw-r--r--arm64-acpi-make-ac-and-battery-drivers-available-on-non-x86.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/arm64-acpi-make-ac-and-battery-drivers-available-on-non-x86.patch b/arm64-acpi-make-ac-and-battery-drivers-available-on-non-x86.patch
new file mode 100644
index 000000000..14e0eebf6
--- /dev/null
+++ b/arm64-acpi-make-ac-and-battery-drivers-available-on-non-x86.patch
@@ -0,0 +1,30 @@
+From 7b87bc98ab598ae40ef1818fb0c420d61dd87ed1 Mon Sep 17 00:00:00 2001
+From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
+Date: Mon, 3 Jun 2019 08:37:11 +0200
+Subject: [PATCH] acpi: make AC and battery drivers available on !X86
+
+Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
+---
+ drivers/acpi/Kconfig | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
+index e016f7a6ed136..3c8011e7b0d7c 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