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

Xu, Even 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(+)

Comments

Xu, Even Jan. 16, 2025, 1:20 a.m. UTC | #1
Thanks Jiri!

Best Regards,
Even Xu

> -----Original Message-----
> From: Jiri Kosina <jikos@kernel.org>
> Sent: Tuesday, January 14, 2025 4:25 PM
> To: Xu, Even <even.xu@intel.com>
> Cc: bentiss@kernel.org; srinivas.pandruvada@linux.intel.com; mpearson-
> lenovo@squebb.ca; linux-input@vger.kernel.org; linux-kernel@vger.kernel.org;
> lkp <lkp@intel.com>
> Subject: Re: [PATCH next] HID: intel-thc-hid: fix build errors in um mode
> 
> On Tue, 14 Jan 2025, Even Xu wrote:
> 
> > 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
> 
> Applied, thanks.
> 
> --
> Jiri Kosina
> SUSE Labs
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