linux/drivers/input/rmi4
Arnd Bergmann 413d373267 Input: synaptics-rmi4 - select 'SERIO' when needed
With CONFIG_SERIO=m, we get a build error for the rmi4-f03 driver,
added in linux-4.10:

warning: (HID_RMI) selects RMI4_F03 which has unmet direct dependencies (!UML && INPUT && RMI4_CORE && (SERIO=y || RMI4_CORE=SERIO))
drivers/input/built-in.o: In function `rmi_f03_attention':
rmi_f03.c:(.text+0xcfe0): undefined reference to `serio_interrupt'
rmi_f03.c:(.text+0xd055): undefined reference to `serio_interrupt'
drivers/input/built-in.o: In function `rmi_f03_remove':
rmi_f03.c:(.text+0xd115): undefined reference to `serio_unregister_port'
drivers/input/built-in.o: In function `rmi_f03_probe':
rmi_f03.c:(.text+0xd209): undefined reference to `__serio_register_port'

An earlier patch tried to fix this, but missed the HID_RMI driver that
does a 'select' on the F03 backend.

This adds a hidden Kconfig symbol that enforces 'serio' to be enabled
when RMI4-F03 is, which covers all cases.

Fixes: d7ddad0acc ("Input: synaptics-rmi4 - fix F03 build error when serio is module")
Fixes: c5e8848fc9 ("Input: synaptics-rmi4 - add support for F03")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2017-02-07 14:31:45 -08:00
..
Kconfig Input: synaptics-rmi4 - select 'SERIO' when needed 2017-02-07 14:31:45 -08:00
Makefile Input: synaptics-rmi4 - add support for F34 V7 bootloader 2016-12-12 11:26:47 -08:00
rmi_2d_sensor.c Input: synaptics-rmi4 - set the ABS_MT_TOOL_TYPE bit to report tool type 2016-11-08 17:12:09 -08:00
rmi_2d_sensor.h Input: synaptics-rmi4 - add parameters for dribble packets and palm detect gesture 2016-11-08 17:12:07 -08:00
rmi_bus.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2016-12-17 16:45:00 -08:00
rmi_bus.h Input: synaptics-rmi4 - add SMBus support 2016-11-08 17:12:10 -08:00
rmi_driver.c Input: synaptics-rmi4 - fix reversed conditions in enable/disable_irq_wake 2017-01-31 00:51:06 -08:00
rmi_driver.h Input: synaptics-rmi4 - add support for F03 2016-12-02 17:51:29 -08:00
rmi_f01.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2016-12-17 16:45:00 -08:00
rmi_f03.c Input: synaptics-rmi4 - store the attn data in the driver 2016-12-02 17:51:32 -08:00
rmi_f11.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2016-12-17 16:45:00 -08:00
rmi_f12.c Input: synaptics-rmi4 - fix debug for sensor clip 2016-12-07 19:20:42 -08:00
rmi_f30.c Input: synaptics-rmi4 - store the attn data in the driver 2016-12-02 17:51:32 -08:00
rmi_f34.c Input: synaptics-rmi4 - add support for F34 V7 bootloader 2016-12-12 11:26:47 -08:00
rmi_f34.h Input: synaptics-rmi4 - add support for F34 V7 bootloader 2016-12-12 11:26:47 -08:00
rmi_f34v7.c Input: synaptics-rmi4 - add support for F34 V7 bootloader 2016-12-12 11:26:47 -08:00
rmi_f54.c Input: synaptics-rmi4 - propagate correct number of rx and tx electrodes to F54 2016-11-22 17:59:25 -08:00
rmi_f55.c Input: synaptics-rmi4 - propagate correct number of rx and tx electrodes to F54 2016-11-22 17:59:25 -08:00
rmi_i2c.c Merge branch 'synaptics-rmi4' into next 2016-12-15 21:36:09 -08:00
rmi_smbus.c Input: synaptics-rmi4 - add SMBus support 2016-11-08 17:12:10 -08:00
rmi_spi.c Merge branch 'synaptics-rmi4' into next 2016-12-15 21:36:09 -08:00