提交 1fcca89b 编写于 作者: A Arnd Bergmann 提交者: Dmitry Torokhov

Input: sis-i2c - select CONFIG_CRC_ITU_T

The newly added sis_i2c driver fails to link without the CRC_ITU_T
driver enabled:

drivers/input/touchscreen/sis_i2c.o: In function `sis_ts_irq_handler':
sis_i2c.c:(.text+0xc0): undefined reference to `crc_itu_t'

This adds a Kconfig select statement.
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
Fixes: a485cb03 ("Input: add driver for SiS 9200 family I2C touchscreen controllers")
Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
上级 326a50f5
...@@ -1074,6 +1074,7 @@ config TOUCHSCREEN_SILEAD ...@@ -1074,6 +1074,7 @@ config TOUCHSCREEN_SILEAD
config TOUCHSCREEN_SIS_I2C config TOUCHSCREEN_SIS_I2C
tristate "SiS 9200 family I2C touchscreen" tristate "SiS 9200 family I2C touchscreen"
depends on I2C depends on I2C
select CRC_ITU_T
depends on GPIOLIB || COMPILE_TEST depends on GPIOLIB || COMPILE_TEST
help help
This enables support for SiS 9200 family over I2C based touchscreens. This enables support for SiS 9200 family over I2C based touchscreens.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册