diff options
Diffstat (limited to 'drivers/input/mouse/psmouse-base.c')
-rw-r--r-- | drivers/input/mouse/psmouse-base.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c index a6973e575aa9..200be9c9dbc7 100644 --- a/drivers/input/mouse/psmouse-base.c +++ b/drivers/input/mouse/psmouse-base.c | |||
@@ -127,7 +127,7 @@ struct psmouse_protocol { | |||
127 | * relevant events to the input module once full packet has arrived. | 127 | * relevant events to the input module once full packet has arrived. |
128 | */ | 128 | */ |
129 | 129 | ||
130 | static psmouse_ret_t psmouse_process_byte(struct psmouse *psmouse) | 130 | psmouse_ret_t psmouse_process_byte(struct psmouse *psmouse) |
131 | { | 131 | { |
132 | struct input_dev *dev = psmouse->dev; | 132 | struct input_dev *dev = psmouse->dev; |
133 | unsigned char *packet = psmouse->packet; | 133 | unsigned char *packet = psmouse->packet; |
@@ -819,6 +819,13 @@ static const struct psmouse_protocol psmouse_protocols[] = { | |||
819 | .detect = synaptics_detect, | 819 | .detect = synaptics_detect, |
820 | .init = synaptics_init, | 820 | .init = synaptics_init, |
821 | }, | 821 | }, |
822 | { | ||
823 | .type = PSMOUSE_SYNAPTICS_RELATIVE, | ||
824 | .name = "SynRelPS/2", | ||
825 | .alias = "synaptics-relative", | ||
826 | .detect = synaptics_detect, | ||
827 | .init = synaptics_init_relative, | ||
828 | }, | ||
822 | #endif | 829 | #endif |
823 | #ifdef CONFIG_MOUSE_PS2_ALPS | 830 | #ifdef CONFIG_MOUSE_PS2_ALPS |
824 | { | 831 | { |