aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/input/mouse/psmouse-base.c2
-rw-r--r--drivers/input/mouse/psmouse.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c
index 9fcb00b8e1a2..291da6285b18 100644
--- a/drivers/input/mouse/psmouse-base.c
+++ b/drivers/input/mouse/psmouse-base.c
@@ -220,7 +220,7 @@ static inline void __psmouse_set_state(struct psmouse *psmouse, enum psmouse_sta
220 * is not a concern. 220 * is not a concern.
221 */ 221 */
222 222
223static void psmouse_set_state(struct psmouse *psmouse, enum psmouse_state new_state) 223void psmouse_set_state(struct psmouse *psmouse, enum psmouse_state new_state)
224{ 224{
225 serio_pause_rx(psmouse->ps2dev.serio); 225 serio_pause_rx(psmouse->ps2dev.serio);
226 __psmouse_set_state(psmouse, new_state); 226 __psmouse_set_state(psmouse, new_state);
diff --git a/drivers/input/mouse/psmouse.h b/drivers/input/mouse/psmouse.h
index 1317bdd8cc7c..ed40415f0067 100644
--- a/drivers/input/mouse/psmouse.h
+++ b/drivers/input/mouse/psmouse.h
@@ -94,6 +94,7 @@ enum psmouse_type {
94 94
95int psmouse_sliced_command(struct psmouse *psmouse, unsigned char command); 95int psmouse_sliced_command(struct psmouse *psmouse, unsigned char command);
96int psmouse_reset(struct psmouse *psmouse); 96int psmouse_reset(struct psmouse *psmouse);
97void psmouse_set_state(struct psmouse *psmouse, enum psmouse_state new_state);
97void psmouse_set_resolution(struct psmouse *psmouse, unsigned int resolution); 98void psmouse_set_resolution(struct psmouse *psmouse, unsigned int resolution);
98 99
99 100