Skip to contentSkip to conversation

input: touchscreen: edt-ft5x06: select REGMAP_I2C

PATCH Applied Daniel Golle 2 participants 2 messages Apr 10, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 input: touchscreen: edt-ft5x06: select REGMAP_I2C

After starting to use regmap API to access registers the edt-ft5x06 driver depends on symbols provided by REGMAP_I2C:

edt-ft5x06.o: in function `edt_ft5x06_ts_probe':
edt-ft5x06.c:1154: undefined reference to __regmap_init_i2c' edt-ft5x06.o: in function edt_ft5x06_ts_identify':
edt-ft5x06.c:897: undefined reference to `__regmap_init_i2c'

Make sure support for I2C regmap is actually selected by adding this dependency to Kconfig.

Fixes 9dfd9708ffba ("Input: edt-ft5x06 - convert to use regmap API")
---
 drivers/input/touchscreen/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/input/touchscreen/Kconfig +1 -0
index 1feecd7ed3cb5..143ff43c67ae3 100644
@@ -768,6 +768,7 @@ config TOUCHSCREEN_PENMOUNT
 config TOUCHSCREEN_EDT_FT5X06
 	tristate "EDT FocalTech FT5x06 I2C Touchscreen support"
 	depends on I2C
+	select REGMAP_I2C
 	help
 	  Say Y here if you have an EDT "Polytouch" touchscreen based
 	  on the FocalTech FT5x06 family of controllers connected to
Signature · 1 line
2.40.0
maintainer Applied
#1 lore raw
Quoted 8 lines · Daniel Golle

After starting to use regmap API to access registers the edt-ft5x06 driver depends on symbols provided by REGMAP_I2C:

edt-ft5x06.o: in function `edt_ft5x06_ts_probe':
edt-ft5x06.c:1154: undefined reference to __regmap_init_i2c' edt-ft5x06.o: in function edt_ft5x06_ts_identify':
edt-ft5x06.c:897: undefined reference to `__regmap_init_i2c'

Quoted 5 lines

Make sure support for I2C regmap is actually selected by adding this dependency to Kconfig.

Fixes 9dfd9708ffba ("Input: edt-ft5x06 - convert to use regmap API")

Applied, thank you.

Signature · 1 line
Dmitry