HID: Intel-thc-hid: Fix REGMAP dependency
Subsystems (2)
PATCH 1/1 HID: Intel-thc-hid: Fix REGMAP dependency
intel-thc-{dev,dma}.c make use of the regmap API and related data structures, breaking the build if CONFIG_REGMAP isn't set.
Fix that by forcibly enabling REGMAP when this driver gets build.
--- drivers/hid/intel-thc-hid/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/hid/intel-thc-hid/Kconfig +1 -0
@@ -8,6 +8,7 @@ config INTEL_THC_HID tristate "Intel Touch Host Controller" depends on ACPI select SGL_ALLOC + select REGMAP help THC (Touch Host Controller) is the name of the IP block in PCH that interfaces with Touch Devices (ex: touchscreen, touchpad etc.). It
Signature · 1 line
2.47.3
Quoted 27 lines
-----Original Message-----
From: Mathias Krause <[email protected]>
Sent: Friday, November 6, 2026 1:01 AM
To: Xu, Even <[email protected]>; Sun, Xinpeng <[email protected]>; Jiri Kosina <[email protected]>; Benjamin Tissoires <[email protected]>
Cc: [email protected]; [email protected]; Mathias Krause <[email protected]>
Subject: [PATCH] HID: Intel-thc-hid: Fix REGMAP dependencyintel-thc-{dev,dma}.c make use of the regmap API and related data structures, breaking the build if
CONFIG_REGMAPisn't set.Fix that by forcibly enabling REGMAP when this driver gets build.
Fixes 1b2d05384c29 ("HID: intel-thc-hid: Add basic THC driver skeleton")Signed-off-by Mathias Krause <[email protected]>--- drivers/hid/intel-thc-hid/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/hid/intel-thc-hid/Kconfig +0
-0
drivers/hid/intel-thc-hid/Kconfig config INTEL_THC_HID · line 14
Quoted 7 lines
drivers/hid/intel-thc-hid/Kconfig +1
-0@@ -8,6 +8,7 @@ config INTEL_THC_HID tristate "Intel Touch Host Controller" depends on ACPI select SGL_ALLOC + select REGMAP help THC (Touch Host Controller) is the name of the IP block in PCH that interfaces with Touch Devices (ex: touchscreen, touchpad etc.). It
Thanks for the patch!
Quoted 2 lines
--
2.47.3
Quoted 7 lines · Mathias Krause
intel-thc-{dev,dma}.c make use of the regmap API and related data structures, breaking the build if
CONFIG_REGMAPisn't set.Fix that by forcibly enabling REGMAP when this driver gets build.
Fixes 1b2d05384c29 ("HID: intel-thc-hid: Add basic THC driver skeleton")Signed-off-by Mathias Krause <[email protected]>
Applied, thanks.
Signature · 2 lines
Jiri Kosina SUSE Labs