event/sw: fix build for gcc 4.5.1
authorFerruh Yigit <ferruh.yigit@intel.com>
Thu, 6 Apr 2017 17:05:11 +0000 (18:05 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 6 Apr 2017 18:40:31 +0000 (20:40 +0200)
commit1e846151cf3ccaaa73160759aa4d5ed0c260481f
tree2e2f88162c8fbb74039441de454df9dbfad5d8e8
parent1daa21de5b8452e4f5d23d4e9959fc8849e04f52
event/sw: fix build for gcc 4.5.1

build error:
.../event/sw/sw_evdev_worker.c: In function ‘sw_event_release’:
.../event/sw/sw_evdev_worker.c:52:3: error: unknown field ‘op’ specified
in initializer

Fixed by updating struct initialization.

Fixes: 656af9180014 ("event/sw: add worker core functions")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
drivers/event/sw/sw_evdev_worker.c