Re: [PATCH] acpi: make AC and battery drivers available on !X86

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  drivers/acpi/Kconfig | 2 --
>  1 file changed, 2 deletions(-)

Tested-by: Lee Jones <lee.jones@xxxxxxxxxx>

> 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



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux