aboutsummaryrefslogtreecommitdiff
path: root/hid-tmt300rs.h
diff options
context:
space:
mode:
authorkimi <kimi.h.kuparinen@gmail.com>2020-07-10 12:16:08 -0400
committerkimi <kimi.h.kuparinen@gmail.com>2020-07-10 12:16:08 -0400
commitead4ca3e9726eea7456064682c739aee74416fba (patch)
treeb6247b93582fa08d24b024ef6e4c6b5d0c2f22b8 /hid-tmt300rs.h
parent11c7bb0526d1ddd20d86b9cb2981b3a213d40404 (diff)
downloadhid-tmff2-ead4ca3e9726eea7456064682c739aee74416fba.tar.gz
hid-tmff2-ead4ca3e9726eea7456064682c739aee74416fba.zip
wow?
Diffstat (limited to 'hid-tmt300rs.h')
-rw-r--r--hid-tmt300rs.h6
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;