linux-yocto/drivers/platform/x86
Necip Fazil Yildiran 8e2cd791e1 platform/x86: fix kconfig dependency warning for FUJITSU_LAPTOP
[ Upstream commit afdd1ebb72 ]

When FUJITSU_LAPTOP is enabled and NEW_LEDS is disabled, it results in the
following Kbuild warning:

WARNING: unmet direct dependencies detected for LEDS_CLASS
  Depends on [n]: NEW_LEDS [=n]
  Selected by [y]:
  - FUJITSU_LAPTOP [=y] && X86 [=y] && X86_PLATFORM_DEVICES [=y] && ACPI [=y] && INPUT [=y] && BACKLIGHT_CLASS_DEVICE [=y] && (ACPI_VIDEO [=n] || ACPI_VIDEO [=n]=n)

The reason is that FUJITSU_LAPTOP selects LEDS_CLASS without depending on
or selecting NEW_LEDS while LEDS_CLASS is subordinate to NEW_LEDS.

Honor the kconfig menu hierarchy to remove kconfig dependency warnings.

Reported-by: Hans de Goede <hdegoede@redhat.com>
Fixes: d89bcc83e7 ("platform/x86: fujitsu-laptop: select LEDS_CLASS")
Signed-off-by: Necip Fazil Yildiran <fazilyildiran@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-14 09:51:13 +02:00
..
acer-wmi.c
acerhdf.c platform/x86: acerhdf: Add BIOS entry for Gateway LT31 v1.3307 2018-11-27 16:10:47 +01:00
alienware-wmi.c platform/x86: alienware-wmi: printing the wrong error code 2020-01-27 14:46:33 +01:00
amilo-rfkill.c
apple-gmux.c Revert "apple-gmux: lock iGP IO to protect from vgaarb changes" 2018-02-22 15:42:26 +01:00
asus-laptop.c
asus-nb-wmi.c platform/x86: asus-nb-wmi: Do not load on Asus T100TA and T200TA 2020-05-27 16:43:03 +02:00
asus-wireless.c platform/x86: asus-wireless: Fix NULL pointer dereference 2018-05-09 09:51:55 +02:00
asus-wmi.c platform/x86: asus-wmi: Fix keyboard brightness cannot be set to 0 2020-01-17 19:45:47 +01:00
asus-wmi.h platform/x86: asus-wmi: Only Tell EC the OS will handle display hotkeys from asus_nb_wmi 2019-12-01 09:13:16 +01:00
classmate-laptop.c
compal-laptop.c
dell-laptop.c platform/x86: dell-laptop: Filter out spurious keyboard backlight change events 2018-04-26 11:02:04 +02:00
dell-rbtn.c
dell-rbtn.h
dell-smbios.c
dell-smbios.h
dell-smo8800.c
dell-wmi-aio.c
dell-wmi-led.c
dell-wmi.c
eeepc-laptop.c
eeepc-wmi.c
fujitsu-laptop.c
fujitsu-tablet.c
hdaps.c
hp_accel.c
hp-wireless.c
hp-wmi.c platform/x86: hp-wmi: Convert simple_strtoul() to kstrtou32() 2020-06-20 10:25:14 +02:00
ibm_rtl.c
ideapad-laptop.c platform/x86: ideapad-laptop: Apply no_hw_rfkill to Y20-15IKBM, too 2018-09-05 09:26:36 +02:00
intel_bxtwc_tmu.c
intel_cht_int33fe.c
intel_int0002_vgpio.c x86/cpu: Sanitize FAM6_ATOM naming 2019-05-14 19:18:42 +02:00
intel_ips.c
intel_ips.h
intel_menlow.c
intel_mid_powerbtn.c platform/x86: intel_mid_powerbtn: Take a copy of ddata 2020-02-14 16:32:22 -05:00
intel_mid_thermal.c
intel_oaktrail.c
intel_pmc_core.c platform/x86: intel_pmc_core: Fix PCH IP sts reading 2019-04-05 22:31:35 +02:00
intel_pmc_core.h platform/x86: intel_pmc_core: Fix PCH IP sts reading 2019-04-05 22:31:35 +02:00
intel_pmc_ipc.c platform/x86: intel_pmc_ipc: adding error handling 2019-06-15 11:54:57 +02:00
intel_punit_ipc.c platform/x86: intel_punit_ipc: fix build errors 2018-09-15 09:45:28 +02:00
intel_scu_ipc.c platform/x86: intel_scu_ipc: Fix interrupt support 2020-02-14 16:32:08 -05:00
intel_scu_ipcutil.c
intel_telemetry_core.c
intel_telemetry_debugfs.c x86/cpu: Sanitize FAM6_ATOM naming 2019-05-14 19:18:42 +02:00
intel_telemetry_pltdrv.c x86/cpu: Sanitize FAM6_ATOM naming 2019-05-14 19:18:42 +02:00
intel_turbo_max_3.c
intel-hid.c platform/x86: intel-hid: Fix return value check in check_acpi_dev() 2020-08-21 09:48:03 +02:00
intel-rst.c
intel-smartconnect.c
intel-vbtn.c platform/x86: intel-vbtn: Fix return value check in check_acpi_dev() 2020-08-21 09:48:03 +02:00
Kconfig platform/x86: fix kconfig dependency warning for FUJITSU_LAPTOP 2020-10-14 09:51:13 +02:00
Makefile
mlx-platform.c platform/x86: mlx-platform: Fix parent device in i2c-mux-reg device registration 2019-07-10 09:54:35 +02:00
mlxcpld-hotplug.c
msi-laptop.c
msi-wmi.c
mxm-wmi.c
panasonic-laptop.c
peaq-wmi.c
pmc_atom.c platform/x86: pmc_atom: Add Lex 2I385SW to critclk_systems DMI table 2020-04-02 16:34:37 +02:00
pvpanic.c
samsung-laptop.c
samsung-q10.c
silead_dmi.c
sony-laptop.c platform/x86: sony-laptop: Fix unintentional fall-through 2019-05-16 19:42:18 +02:00
surface3_button.c
surface3-wmi.c
surfacepro3_button.c
tc1100-wmi.c
thinkpad_acpi.c platform/x86: thinkpad_acpi: re-initialize ACPI buffer size when reuse 2020-10-14 09:51:10 +02:00
topstar-laptop.c
toshiba_acpi.c platform/x86: toshiba_acpi: Fix defined but not used build warnings 2018-09-26 08:38:04 +02:00
toshiba_bluetooth.c
toshiba_haps.c
toshiba-wmi.c
wmi-bmof.c
wmi.c platform/x86: wmi: fix potential null pointer dereference 2020-01-27 14:46:22 +01:00
xo1-rfkill.c
xo15-ebook.c