Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: fix ste_rmi4 build, depends on INPUT

The synaptics_i2c_rmi4 driver uses input_*() interfaces,
so it should depend on INPUT to fix its build errors:

ERROR: "input_event" [drivers/staging/ste_rmi4/synaptics_i2c_rmi4.ko] undefined!
ERROR: "input_free_device" [drivers/staging/ste_rmi4/synaptics_i2c_rmi4.ko] undefined!
ERROR: "input_register_device" [drivers/staging/ste_rmi4/synaptics_i2c_rmi4.ko] undefined!
ERROR: "input_set_abs_params" [drivers/staging/ste_rmi4/synaptics_i2c_rmi4.ko] undefined!
ERROR: "input_allocate_device" [drivers/staging/ste_rmi4/synaptics_i2c_rmi4.ko] undefined!
ERROR: "input_unregister_device" [drivers/staging/ste_rmi4/synaptics_i2c_rmi4.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: naveen.gaddipati@stericsson.com, js.ha@stericsson.com
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Randy Dunlap and committed by
Greg Kroah-Hartman
a65e659d defc19ce

+1 -1
+1 -1
drivers/staging/ste_rmi4/Kconfig
··· 1 1 config TOUCHSCREEN_SYNAPTICS_I2C_RMI4 2 2 tristate "Synaptics i2c rmi4 touchscreen" 3 - depends on I2C 3 + depends on I2C && INPUT 4 4 help 5 5 Say Y here if you have a Synaptics RMI4 and 6 6 want to enable support for the built-in touchscreen.