Input: sis-i2c - select CONFIG_CRC_ITU_T
authorArnd Bergmann <arnd@arndb.de>
Thu, 4 Aug 2016 15:19:44 +0000 (08:19 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 4 Aug 2016 15:27:47 +0000 (08:27 -0700)
commit1fcca89bd711800b041a1f5eb9052983df0b3194
tree787168cfed088c9ff7af015e407dbebf9d08aa0e
parent326a50f5734c228873eb33c6db6c5240c44f2ecc
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: Arnd Bergmann <arnd@arndb.de>
Fixes: a485cb037fe6 ("Input: add driver for SiS 9200 family I2C touchscreen controllers")
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/Kconfig