summaryrefslogtreecommitdiff
path: root/drivers/bus/dpaa/rte_dpaa_bus.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bus/dpaa/rte_dpaa_bus.h')
-rw-r--r--drivers/bus/dpaa/rte_dpaa_bus.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/bus/dpaa/rte_dpaa_bus.h b/drivers/bus/dpaa/rte_dpaa_bus.h
index 8573bd6..15dc6a4 100644
--- a/drivers/bus/dpaa/rte_dpaa_bus.h
+++ b/drivers/bus/dpaa/rte_dpaa_bus.h
@@ -164,8 +164,7 @@ void dpaa_portal_finish(void *arg);
/** Helper for DPAA device registration from driver (eth, crypto) instance */
#define RTE_PMD_REGISTER_DPAA(nm, dpaa_drv) \
-RTE_INIT(dpaainitfn_ ##nm); \
-static void dpaainitfn_ ##nm(void) \
+RTE_INIT(dpaainitfn_ ##nm) \
{\
(dpaa_drv).driver.name = RTE_STR(nm);\
rte_dpaa_driver_register(&dpaa_drv); \