[PATCH v1] ACPI: Make acpi video driver available on !X86

Riwen Lu posted 1 patch 3 years, 10 months ago
drivers/acpi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v1] ACPI: Make acpi video driver available on !X86
Posted by Riwen Lu 3 years, 10 months ago
From: Riwen Lu <luriwen@kylinos.cn>

ACPI video device can also be found in arm64 laptops, so drop the
Kconfig dependency on X86 for ACPI_VIDEO.

Signed-off-by: Riwen Lu <luriwen@kylinos.cn>
---
 drivers/acpi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index 1e34f846508f..a25c36e0c863 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -210,7 +210,7 @@ config ACPI_TINY_POWER_BUTTON_SIGNAL
 
 config ACPI_VIDEO
 	tristate "Video"
-	depends on X86 && BACKLIGHT_CLASS_DEVICE
+	depends on BACKLIGHT_CLASS_DEVICE
 	depends on INPUT
 	select THERMAL
 	help
-- 
2.25.1
Re: [PATCH v1] ACPI: Make acpi video driver available on !X86
Posted by Rafael J. Wysocki 3 years, 10 months ago
On Mon, Jun 13, 2022 at 11:34 AM Riwen Lu <luriwen@hotmail.com> wrote:
>
> From: Riwen Lu <luriwen@kylinos.cn>
>
> ACPI video device can also be found in arm64 laptops, so drop the
> Kconfig dependency on X86 for ACPI_VIDEO.
>
> Signed-off-by: Riwen Lu <luriwen@kylinos.cn>
> ---
>  drivers/acpi/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
> index 1e34f846508f..a25c36e0c863 100644
> --- a/drivers/acpi/Kconfig
> +++ b/drivers/acpi/Kconfig
> @@ -210,7 +210,7 @@ config ACPI_TINY_POWER_BUTTON_SIGNAL
>
>  config ACPI_VIDEO
>         tristate "Video"
> -       depends on X86 && BACKLIGHT_CLASS_DEVICE
> +       depends on BACKLIGHT_CLASS_DEVICE
>         depends on INPUT
>         select THERMAL
>         help
> --

Applied as 5.20 material, thanks!