diff mbox series

Input: hideep - add missing dependency on REGMAP_I2C

Message ID 20241002-input-hideep-select-remap-i2c-v1-1-6b0fa1dd5fc5@gmail.com
State Accepted
Commit 2f548325ae9d3b34eea98a2fe9160f1c246a6147
Headers show
Series Input: hideep - add missing dependency on REGMAP_I2C | expand

Commit Message

Javier Carrasco Oct. 2, 2024, 8:42 p.m. UTC
hideep makes use of regmap_i2c, and it has to be selected within its
Kconfig entry to compile successfully.

Fixes: 842ff286166e ("Input: add support for HiDeep touchscreen")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
Building this module will fail at least with gcc-12/13 and a simple
.config that does not include REGMAP.
---
 drivers/input/touchscreen/Kconfig | 1 +
 1 file changed, 1 insertion(+)


---
base-commit: fe21733536749bb1b31c9c84e0b8d2ab8d82ce13
change-id: 20241002-input-hideep-select-remap-i2c-d785b9d677db

Best regards,

Comments

Dmitry Torokhov Oct. 3, 2024, 11:46 a.m. UTC | #1
On Wed, Oct 02, 2024 at 10:42:30PM +0200, Javier Carrasco wrote:
> hideep makes use of regmap_i2c, and it has to be selected within its
> Kconfig entry to compile successfully.
> 
> Fixes: 842ff286166e ("Input: add support for HiDeep touchscreen")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>

Applied, thank you.
diff mbox series

Patch

diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 1ac26fc2e3eb..601fa7ec2e8a 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -420,6 +420,7 @@  config TOUCHSCREEN_GOODIX_BERLIN_SPI
 config TOUCHSCREEN_HIDEEP
 	tristate "HiDeep Touch IC"
 	depends on I2C
+	select REGMAP_I2C
 	help
 	  Say Y here if you have a touchscreen using HiDeep.