summaryrefslogtreecommitdiff
path: root/drivers/event/opdl/opdl_evdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/event/opdl/opdl_evdev.c')
-rw-r--r--drivers/event/opdl/opdl_evdev.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/event/opdl/opdl_evdev.c b/drivers/event/opdl/opdl_evdev.c
index ef9fb30..a4f0bc8 100644
--- a/drivers/event/opdl/opdl_evdev.c
+++ b/drivers/event/opdl/opdl_evdev.c
@@ -753,10 +753,7 @@ static struct rte_vdev_driver evdev_opdl_pmd_drv = {
.remove = opdl_remove
};
-RTE_INIT(opdl_init_log);
-
-static void
-opdl_init_log(void)
+RTE_INIT(opdl_init_log)
{
opdl_logtype_driver = rte_log_register("pmd.event.opdl.driver");
if (opdl_logtype_driver >= 0)