[PATCH next] HID: intel-thc-hid: fix build errors in um mode

From: Even Xu
Date: Mon Jan 13 2025 - 19:37:51 EST


Add dependency to ACPI to avoid acpi APIs missing in um mode.

Signed-off-by: Even Xu <even.xu@xxxxxxxxx>
Suggested-by: Srinivas Pandruvada <srinivas.pandruvada@xxxxxxxxxxxxxxx>
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202501131826.sX2DubPG-lkp@xxxxxxxxx
---
drivers/hid/intel-thc-hid/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/hid/intel-thc-hid/Kconfig b/drivers/hid/intel-thc-hid/Kconfig
index 84c2db881bf4..91ec84902db8 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
--
2.40.1