Skip to content

Commit 483a144

Browse files
dangowrtdtor
authored andcommitted
Input: 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: 9dfd970 ("Input: edt-ft5x06 - convert to use regmap API") Signed-off-by: Daniel Golle <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 210f8ca commit 483a144

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/input/touchscreen/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,7 @@ config TOUCHSCREEN_PENMOUNT
768768
config TOUCHSCREEN_EDT_FT5X06
769769
tristate "EDT FocalTech FT5x06 I2C Touchscreen support"
770770
depends on I2C
771+
select REGMAP_I2C
771772
help
772773
Say Y here if you have an EDT "Polytouch" touchscreen based
773774
on the FocalTech FT5x06 family of controllers connected to

0 commit comments

Comments
 (0)