]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/nouveau/Kconfig: Drop duplicate "select ACPI_VIDEO"
authorHans de Goede <hdegoede@redhat.com>
Mon, 20 Jun 2022 09:46:27 +0000 (11:46 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 23 Jun 2022 10:15:04 +0000 (12:15 +0200)
Before this change nouveau's Kconfig section had 2 "select ACPI_VIDEO"
statements:

select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT
select ACPI_VIDEO if ACPI && X86

Drop the one with the extra conditions, if the conditions for that
one are true then the second statement will always select ACPI_VIDEO
already.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220620094627.9730-1-hdegoede@redhat.com
drivers/gpu/drm/nouveau/Kconfig

index 34760164c271e67c2a1fcfa9c605aa8e1dc2f175..03d12caf9e268d74c5572da647a498308fb74c73 100644 (file)
@@ -11,7 +11,6 @@ config DRM_NOUVEAU
        select DRM_TTM
        select DRM_TTM_HELPER
        select BACKLIGHT_CLASS_DEVICE if DRM_NOUVEAU_BACKLIGHT
-       select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT
        select X86_PLATFORM_DEVICES if ACPI && X86
        select ACPI_WMI if ACPI && X86
        select MXM_WMI if ACPI && X86