diff options
author | Andres Salomon <dilinger@queued.net> | 2012-02-24 03:51:37 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-02-24 03:55:28 -0500 |
commit | bd26f3d6fbb84f101f3e78f0591415d1c407976a (patch) | |
tree | 9f0c6a675c41ce63462ce8385e5accd8265ad596 /drivers/input/mouse/psmouse.h | |
parent | 023cea0ecfa2df034096c3f4afa796a0b2d1188a (diff) |
Input: psmouse - allow drivers to use psmouse_{de,}activate
Other drivers duplicate this code; no sense in having it be private
to psmouse-base.
Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/psmouse.h')
-rw-r--r-- | drivers/input/mouse/psmouse.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/mouse/psmouse.h b/drivers/input/mouse/psmouse.h index 6a417092d010..fe1df231ba4c 100644 --- a/drivers/input/mouse/psmouse.h +++ b/drivers/input/mouse/psmouse.h | |||
@@ -105,6 +105,8 @@ int psmouse_reset(struct psmouse *psmouse); | |||
105 | void psmouse_set_state(struct psmouse *psmouse, enum psmouse_state new_state); | 105 | void psmouse_set_state(struct psmouse *psmouse, enum psmouse_state new_state); |
106 | void psmouse_set_resolution(struct psmouse *psmouse, unsigned int resolution); | 106 | void psmouse_set_resolution(struct psmouse *psmouse, unsigned int resolution); |
107 | psmouse_ret_t psmouse_process_byte(struct psmouse *psmouse); | 107 | psmouse_ret_t psmouse_process_byte(struct psmouse *psmouse); |
108 | int psmouse_activate(struct psmouse *psmouse); | ||
109 | int psmouse_deactivate(struct psmouse *psmouse); | ||
108 | 110 | ||
109 | struct psmouse_attribute { | 111 | struct psmouse_attribute { |
110 | struct device_attribute dattr; | 112 | struct device_attribute dattr; |