diff options
Diffstat (limited to 'hid-tmt300rs.h')
| -rw-r--r-- | hid-tmt300rs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hid-tmt300rs.h b/hid-tmt300rs.h index b308627..f3c8d97 100644 --- a/hid-tmt300rs.h +++ b/hid-tmt300rs.h @@ -21,6 +21,9 @@ spinlock_t lock; unsigned long lock_flags; +spinlock_t data_lock; +unsigned long data_flags; + static int timer_msecs = DEFAULT_TIMER_PERIOD; static const signed short t300rs_ff_effects[] = { @@ -58,6 +61,9 @@ struct t300rs_device_entry { struct t300rs_effect_state *states; struct hrtimer hrtimer; + int (*open)(struct input_dev *dev); + void (*close)(struct input_dev *dev); + spinlock_t lock; unsigned long lock_flags; |
