diff mbox series

acpi: make AC and battery drivers available on !X86

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

Commit Message

Ard Biesheuvel June 20, 2019, 7:33 a.m. UTC
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(-)

Comments

Lee Jones June 20, 2019, 7:55 a.m. UTC | #1
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
Rafael J. Wysocki June 27, 2019, 9:46 p.m. UTC | #2
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 mbox series

Patch

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