event/opdl: fix build using C99 mode
authorAndrew Rybchenko <arybchenko@solarflare.com>
Sun, 21 Jan 2018 09:48:39 +0000 (09:48 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 21 Jan 2018 10:52:55 +0000 (11:52 +0100)
commita1472935a8b81a328ed8d6f553ee2523fea96757
treec2948e784d3ff85591b5d573631985cce5da292e
parent6138c2daece4e763db54fa1320ef95963d3aad00
event/opdl: fix build using C99 mode

RHEL 7.4 gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)

‘for’ loop initial declarations are only allowed in C99 mode

Fixes: 4236ce9bf5bf ("event/opdl: add OPDL ring infrastructure library")

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/event/opdl/Makefile