From: Even Xu Date: Tue, 14 Jan 2025 00:37:12 +0000 (+0800) Subject: HID: intel-thc-hid: fix build errors in um mode X-Git-Tag: v6.14-rc1~145^2~5^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f1d3ad0ac143063247643bb698917efb88c21cf1;p=thirdparty%2Fkernel%2Flinux.git HID: intel-thc-hid: fix build errors in um mode Add dependency to ACPI to avoid acpi APIs missing in um mode. Signed-off-by: Even Xu Suggested-by: Srinivas Pandruvada Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202501131826.sX2DubPG-lkp@intel.com Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/intel-thc-hid/Kconfig b/drivers/hid/intel-thc-hid/Kconfig index 84c2db881bf46..91ec84902db8f 100644 --- a/drivers/hid/intel-thc-hid/Kconfig +++ b/drivers/hid/intel-thc-hid/Kconfig @@ -6,6 +6,7 @@ menu "Intel THC HID Support" config INTEL_THC_HID tristate "Intel Touch Host Controller" + depends on ACPI select HID help THC (Touch Host Controller) is the name of the IP block in PCH that