Message ID | 20190620073353.5770-1-ard.biesheuvel@linaro.org (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Rafael Wysocki |
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
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(-)