diff mbox series

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

Message ID 20250114003712.3042688-1-even.xu@intel.com
State New
Headers show
Series [next] HID: intel-thc-hid: fix build errors in um mode | expand

Commit Message

Even Xu Jan. 14, 2025, 12:37 a.m. UTC
Add dependency to ACPI to avoid acpi APIs missing in um mode.

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

Patch

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