linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] acpi: make AC and battery drivers available on !X86
@ 2019-06-20  7:33 Ard Biesheuvel
  2019-06-20  7:55 ` Lee Jones
  2019-06-27 21:46 ` Rafael J. Wysocki
  0 siblings, 2 replies; 3+ messages in thread
From: Ard Biesheuvel @ 2019-06-20  7:33 UTC (permalink / raw)
  To: linux-acpi; +Cc: lenb, rjw, lee.jones, Ard Biesheuvel

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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] acpi: make AC and battery drivers available on !X86
  2019-06-20  7:33 [PATCH] acpi: make AC and battery drivers available on !X86 Ard Biesheuvel
@ 2019-06-20  7:55 ` Lee Jones
  2019-06-27 21:46 ` Rafael J. Wysocki
  1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2019-06-20  7:55 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: linux-acpi, lenb, rjw

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] acpi: make AC and battery drivers available on !X86
  2019-06-20  7:33 [PATCH] acpi: make AC and battery drivers available on !X86 Ard Biesheuvel
  2019-06-20  7:55 ` Lee Jones
@ 2019-06-27 21:46 ` Rafael J. Wysocki
  1 sibling, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2019-06-27 21:46 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: linux-acpi, lenb, lee.jones

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!




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-27 21:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-20  7:33 [PATCH] acpi: make AC and battery drivers available on !X86 Ard Biesheuvel
2019-06-20  7:55 ` Lee Jones
2019-06-27 21:46 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).