aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/psmouse.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-09-11 13:14:09 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-09-12 20:30:44 -0400
commit2c75ada6250990ea859b0b5498cb0b7c2823a9d7 (patch)
treee39a322d8400c85fbebfb658955a240aff4a4049 /drivers/input/mouse/psmouse.h
parent76460a7becadbda5589057ee8394cbc98717c324 (diff)
Input: psmouse - add psmouse_matches_pnp_id helper function
The matches_pnp_id function from the synaptics driver is useful for other drivers too. Make it a generic psmouse helper function. Signed-off-by: Hans de Goede <hdegoede@redhat.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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/mouse/psmouse.h b/drivers/input/mouse/psmouse.h
index 2f0b39d59a9b..f4cf664c7db3 100644
--- a/drivers/input/mouse/psmouse.h
+++ b/drivers/input/mouse/psmouse.h
@@ -108,6 +108,7 @@ void psmouse_set_resolution(struct psmouse *psmouse, unsigned int resolution);
108psmouse_ret_t psmouse_process_byte(struct psmouse *psmouse); 108psmouse_ret_t psmouse_process_byte(struct psmouse *psmouse);
109int psmouse_activate(struct psmouse *psmouse); 109int psmouse_activate(struct psmouse *psmouse);
110int psmouse_deactivate(struct psmouse *psmouse); 110int psmouse_deactivate(struct psmouse *psmouse);
111bool psmouse_matches_pnp_id(struct psmouse *psmouse, const char * const ids[]);
111 112
112struct psmouse_attribute { 113struct psmouse_attribute {
113 struct device_attribute dattr; 114 struct device_attribute dattr;