diff options
| author | Dmitry Torokhov <dtor_core@ameritech.net> | 2003-12-18 05:32:36 -0800 |
|---|---|---|
| committer | Dmitry Torokhov <dtor_core@ameritech.net> | 2003-12-18 05:32:36 -0800 |
| commit | 5ef1bd1eae81aaae6d8438e10832519a33cc0a8b (patch) | |
| tree | 64082e1f01f422b55f84cef401c3e75ffa56a089 /include/linux/serio.h | |
| parent | 7822f6534c1c8609bacb3b202da5d4163dec4d00 (diff) | |
[PATCH] serio: reconnect facility
Input: serio_reconnect added. Similar to serio_rescan but gives driver
a chance to re-initialize keeping the same input device.
Diffstat (limited to 'include/linux/serio.h')
| -rw-r--r-- | include/linux/serio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/serio.h b/include/linux/serio.h index af60d281c5d7..8248b882e282 100644 --- a/include/linux/serio.h +++ b/include/linux/serio.h @@ -49,6 +49,7 @@ struct serio_dev { irqreturn_t (*interrupt)(struct serio *, unsigned char, unsigned int, struct pt_regs *); void (*connect)(struct serio *, struct serio_dev *dev); + int (*reconnect)(struct serio *); void (*disconnect)(struct serio *); void (*cleanup)(struct serio *); @@ -58,6 +59,7 @@ struct serio_dev { int serio_open(struct serio *serio, struct serio_dev *dev); void serio_close(struct serio *serio); void serio_rescan(struct serio *serio); +void serio_reconnect(struct serio *serio); irqreturn_t serio_interrupt(struct serio *serio, unsigned char data, unsigned int flags, struct pt_regs *regs); void serio_register_port(struct serio *serio); |
