summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/psmouse.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2023-05-11 11:52:41 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2023-05-18 11:40:32 -0700
commit100e16959c3ca8cb7be788ed3e2c5867481f35f6 (patch)
tree1ffb171f8b575e53f152452bd9088f9bc9cc6882 /drivers/input/mouse/psmouse.h
parentd8bde56dfd86a0bba9206de8574e58c8aaac4f0f (diff)
downloadlinux-stable-100e16959c3ca8cb7be788ed3e2c5867481f35f6.tar.gz
linux-stable-100e16959c3ca8cb7be788ed3e2c5867481f35f6.tar.bz2
linux-stable-100e16959c3ca8cb7be788ed3e2c5867481f35f6.zip
Input: libps2 - attach ps2dev instances as serio port's drvdata
In preparation of having unified interrupt handler for PS/2 devices, instead of attaching instances of psmouse and atkbd structures as serio's driver data, switch to attaching ps2dev instances. Reviewed-by: Raul Rangel <rrangel@chromium.org> Link: https://lore.kernel.org/r/20230511185252.386941-2-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/psmouse.h')
-rw-r--r--drivers/input/mouse/psmouse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/mouse/psmouse.h b/drivers/input/mouse/psmouse.h
index 64c3a5d3fb3e..4d8acfe0d82a 100644
--- a/drivers/input/mouse/psmouse.h
+++ b/drivers/input/mouse/psmouse.h
@@ -130,6 +130,8 @@ struct psmouse {
void (*pt_deactivate)(struct psmouse *psmouse);
};
+struct psmouse *psmouse_from_serio(struct serio *serio);
+
void psmouse_queue_work(struct psmouse *psmouse, struct delayed_work *work,
unsigned long delay);
int psmouse_reset(struct psmouse *psmouse);