]> git.baikalelectronics.ru Git - kernel.git/commit
Input: raspberrypi-ts - select CONFIG_INPUT_POLLDEV
authorArnd Bergmann <arnd@arndb.de>
Sat, 9 Mar 2019 23:34:18 +0000 (15:34 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 9 Mar 2019 23:57:16 +0000 (15:57 -0800)
commit358b0de33871269c6ef039e586b23e62166ee388
tree3b83eeb8c390dd953bfb5d51c2fea04cba209788
parente550bb43dd118e4bec0db2f539da5186a5730747
Input: raspberrypi-ts - select CONFIG_INPUT_POLLDEV

When CONFIG_INPUT_POLLDEV is disabled, we get a link error:

drivers/input/touchscreen/raspberrypi-ts.o: In function `rpi_ts_probe':
raspberrypi-ts.c:(.text+0xec): undefined reference to `devm_input_allocate_polled_device'
raspberrypi-ts.c:(.text+0xec): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `devm_input_allocate_polled_device'
raspberrypi-ts.c:(.text+0x19c): undefined reference to `input_register_polled_device'
raspberrypi-ts.c:(.text+0x19c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `input_register_polled_device'

Select that symbol like we do from the other similar drivers.

Fixes: 0a08b67e54e6 ("Input: add official Raspberry Pi's touchscreen driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/Kconfig