aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/hid.c
diff options
context:
space:
mode:
authorRandy Dunlap <[email protected]>2021-09-18 04:48:29 +0000
committerHans de Goede <[email protected]>2021-09-21 13:49:09 +0000
commit5b72dafaca73b33416c82457ae615e6f2022e901 (patch)
treef6c492e714110ea28de9f6751124a602ff493244 /drivers/platform/x86/intel/hid.c
parentplatform/x86: amd-pmc: Increase the response register timeout (diff)
downloadkernel-5b72dafaca73b33416c82457ae615e6f2022e901.tar.gz
kernel-5b72dafaca73b33416c82457ae615e6f2022e901.zip
platform/x86: dell: fix DELL_WMI_PRIVACY dependencies & build error
When DELL_WMI=y, DELL_WMI_PRIVACY=y, and LEDS_TRIGGER_AUDIO=m, there is a linker error since the LEDS trigger code is built as a loadable module. This happens because DELL_WMI_PRIVACY is a bool that depends on a tristate (LEDS_TRIGGER_AUDIO=m), which can be dangerous. ld: drivers/platform/x86/dell/dell-wmi-privacy.o: in function `dell_privacy_wmi_probe': dell-wmi-privacy.c:(.text+0x3df): undefined reference to `ledtrig_audio_get' Fixes: 8af9fa37b8a3 ("platform/x86: dell-privacy: Add support for Dell hardware privacy") Signed-off-by: Randy Dunlap <[email protected]> Cc: Perry Yuan <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Hans de Goede <[email protected]> Cc: Mark Gross <[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/intel/hid.c')
0 files changed, 0 insertions, 0 deletions