diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-07-26 01:48:44 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-07-26 17:03:18 -0400 |
commit | 38c11eaaab0cf8ef6004aa704f1bb2ff5e6bc1b0 (patch) | |
tree | 81feab2bc1b813d6042d71632299a416dffabb5b /drivers/input/mouse/alps.h | |
parent | 99d9996c5c3b47c14c8717c7dd4692a25b83b3f7 (diff) |
Input: alps - change decode function prototype to return an int
So that decode functions can return a failure when appropriate.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/alps.h')
-rw-r--r-- | drivers/input/mouse/alps.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/alps.h b/drivers/input/mouse/alps.h index ee841e53ef9c..17e3ae39bcb7 100644 --- a/drivers/input/mouse/alps.h +++ b/drivers/input/mouse/alps.h | |||
@@ -157,7 +157,7 @@ struct alps_data { | |||
157 | 157 | ||
158 | int (*hw_init)(struct psmouse *psmouse); | 158 | int (*hw_init)(struct psmouse *psmouse); |
159 | void (*process_packet)(struct psmouse *psmouse); | 159 | void (*process_packet)(struct psmouse *psmouse); |
160 | void (*decode_fields)(struct alps_fields *f, unsigned char *p, | 160 | int (*decode_fields)(struct alps_fields *f, unsigned char *p, |
161 | struct psmouse *psmouse); | 161 | struct psmouse *psmouse); |
162 | void (*set_abs_params)(struct alps_data *priv, struct input_dev *dev1); | 162 | void (*set_abs_params)(struct alps_data *priv, struct input_dev *dev1); |
163 | 163 | ||