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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux