Message ID | 20190620073353.5770-1-ard.biesheuvel@linaro.org |
---|---|
State | Accepted |
Commit | fb683f47a9fb824dc11d529119354d1a88a96ca2 |
Headers | show |
Series | acpi: make AC and battery drivers available on !X86 | expand |
On Thu, 20 Jun 2019, Ard Biesheuvel wrote: > 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> > --- > drivers/acpi/Kconfig | 2 -- > 1 file changed, 2 deletions(-) Tested-by: Lee Jones <lee.jones@linaro.org> > diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig > index e016f7a6ed13..3c8011e7b0d7 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 -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
On Thursday, June 20, 2019 9:33:53 AM CEST Ard Biesheuvel wrote: > 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> > --- > drivers/acpi/Kconfig | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig > index e016f7a6ed13..3c8011e7b0d7 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 > Applied, thanks!
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index e016f7a6ed13..3c8011e7b0d7 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
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> --- drivers/acpi/Kconfig | 2 -- 1 file changed, 2 deletions(-) -- 2.17.1