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
Input: elantech - add more IC body types to the list
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
input
/
joystick
/
gamecon.c
diff --git
a/drivers/input/joystick/gamecon.c
b/drivers/input/joystick/gamecon.c
index 5a672dcac0d8174a151254ac31b591f0189f9d91..eae14d512353aae4902f3ce482c1cf87cba736b6 100644
(file)
--- a/
drivers/input/joystick/gamecon.c
+++ b/
drivers/input/joystick/gamecon.c
@@
-951,6
+951,7
@@
static void gc_attach(struct parport *pp)
pads = gc_cfg[port_idx].args + 1;
n_pads = gc_cfg[port_idx].nargs - 1;
+ memset(&gc_parport_cb, 0, sizeof(gc_parport_cb));
gc_parport_cb.flags = PARPORT_FLAG_EXCL;
pd = parport_register_dev_model(pp, "gamecon", &gc_parport_cb,