summaryrefslogtreecommitdiff
path: root/drivers/bus/fslmc/fslmc_bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bus/fslmc/fslmc_bus.c')
-rw-r--r--drivers/bus/fslmc/fslmc_bus.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c
index c6301b2..d2900ed 100644
--- a/drivers/bus/fslmc/fslmc_bus.c
+++ b/drivers/bus/fslmc/fslmc_bus.c
@@ -519,9 +519,7 @@ struct rte_fslmc_bus rte_fslmc_bus = {
RTE_REGISTER_BUS(FSLMC_BUS_NAME, rte_fslmc_bus.bus);
-RTE_INIT(fslmc_init_log);
-static void
-fslmc_init_log(void)
+RTE_INIT(fslmc_init_log)
{
/* Bus level logs */
dpaa2_logtype_bus = rte_log_register("bus.fslmc");