projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hid
/
hid-wiimote.h
diff --git
a/drivers/hid/hid-wiimote.h
b/drivers/hid/hid-wiimote.h
index 03065f1917fc945f2c2061dfeff94c6f2629e136..10934aa129fbb7743d90dadbd540e9b164b14c38 100644
(file)
--- a/
drivers/hid/hid-wiimote.h
+++ b/
drivers/hid/hid-wiimote.h
@@
-329,7
+329,7
@@
static inline void wiimote_cmd_acquire_noint(struct wiimote_data *wdata)
static inline void wiimote_cmd_set(struct wiimote_data *wdata, int cmd,
__u32 opt)
{
-
INIT_COMPLETION(
wdata->state.ready);
+
reinit_completion(&
wdata->state.ready);
wdata->state.cmd = cmd;
wdata->state.opt = opt;
}