summaryrefslogtreecommitdiff
path: root/drivers/bus/dpaa/dpaa_bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bus/dpaa/dpaa_bus.c')
-rw-r--r--drivers/bus/dpaa/dpaa_bus.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/bus/dpaa/dpaa_bus.c b/drivers/bus/dpaa/dpaa_bus.c
index 2046206..af9e91e 100644
--- a/drivers/bus/dpaa/dpaa_bus.c
+++ b/drivers/bus/dpaa/dpaa_bus.c
@@ -626,9 +626,7 @@ struct rte_dpaa_bus rte_dpaa_bus = {
RTE_REGISTER_BUS(FSL_DPAA_BUS_NAME, rte_dpaa_bus.bus);
-RTE_INIT(dpaa_init_log);
-static void
-dpaa_init_log(void)
+RTE_INIT(dpaa_init_log)
{
dpaa_logtype_bus = rte_log_register("bus.dpaa");
if (dpaa_logtype_bus >= 0)