aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/x86/silicom-platform.c
diff options
context:
space:
mode:
authorSungHwan Jung <[email protected]>2023-11-24 18:41:20 +0900
committerHans de Goede <[email protected]>2023-12-02 12:27:24 +0100
commitc0ff2c397e84795816816ae8a32fd1104156d0f6 (patch)
tree6df43f2d598cab8c27863a20e037367e3895b918 /drivers/platform/x86/silicom-platform.c
parent6bb5153dfbaf88fa4b40ef50b706d2fb186ed92e (diff)
platform/x86: acer-wmi: Depend on ACPI_VIDEO instead of selecting it
"select ACPI_VIDEO" cause recursive dependency when "depends on HWMON" is added: drivers/hwmon/Kconfig:6:error: recursive dependency detected! drivers/hwmon/Kconfig:6: symbol HWMON is selected by EEEPC_LAPTOP drivers/platform/x86/Kconfig:326: symbol EEEPC_LAPTOP depends on ACPI_VIDEO drivers/acpi/Kconfig:208: symbol ACPI_VIDEO is selected by ACER_WMI drivers/platform/x86/Kconfig:173: symbol ACER_WMI depends on HWMON Replace the select with depends on to avoid this problem when the next patch in this series adds "depends on HWMON". There is a stub defined for the used acpi_video_get_backlight_type() function when ACPI_VIDEO is not set, so use: depends on ACPI_VIDEO || ACPI_VIDEO = n Signed-off-by: SungHwan Jung <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/x86/silicom-platform.c')
0 files changed, 0 insertions, 0 deletions