summaryrefslogtreecommitdiff
path: root/drivers/input/rmi4/rmi_bus.c
diff options
context:
space:
mode:
authorLyude Paul <thatslyude@gmail.com>2016-12-03 03:59:07 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-12-03 04:51:29 +0300
commitc5e8848fc98e363ea51b68de01392366312d9efa (patch)
treecd846b30158fc0b63b8695a79e740a254a66a9fe /drivers/input/rmi4/rmi_bus.c
parent0a135b88bceac40d0036e401c19cdbda65b38a8f (diff)
downloadlinux-c5e8848fc98e363ea51b68de01392366312d9efa.tar.xz
Input: synaptics-rmi4 - add support for F03
This adds basic functionality for PS/2 passthrough on Synaptics Touchpads using RMI4 through smbus. Reviewed-by: Andrew Duggan <aduggan@synaptics.com> Signed-off-by: Lyude Paul <thatslyude@gmail.com> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/rmi4/rmi_bus.c')
-rw-r--r--drivers/input/rmi4/rmi_bus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/rmi4/rmi_bus.c b/drivers/input/rmi4/rmi_bus.c
index 2534331ad9dc..df97d8679bad 100644
--- a/drivers/input/rmi4/rmi_bus.c
+++ b/drivers/input/rmi4/rmi_bus.c
@@ -306,6 +306,9 @@ struct bus_type rmi_bus_type = {
static struct rmi_function_handler *fn_handlers[] = {
&rmi_f01_handler,
+#ifdef CONFIG_RMI4_F03
+ &rmi_f03_handler,
+#endif
#ifdef CONFIG_RMI4_F11
&rmi_f11_handler,
#endif