summaryrefslogtreecommitdiff
path: root/drivers/raw/dpaa2_qdma/dpaa2_qdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/raw/dpaa2_qdma/dpaa2_qdma.c')
-rw-r--r--drivers/raw/dpaa2_qdma/dpaa2_qdma.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c
index 1d15c30..518d65a 100644
--- a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c
+++ b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c
@@ -992,9 +992,7 @@ static struct rte_dpaa2_driver rte_dpaa2_qdma_pmd = {
RTE_PMD_REGISTER_DPAA2(dpaa2_qdma, rte_dpaa2_qdma_pmd);
-RTE_INIT(dpaa2_qdma_init_log);
-static void
-dpaa2_qdma_init_log(void)
+RTE_INIT(dpaa2_qdma_init_log)
{
dpaa2_qdma_logtype = rte_log_register("pmd.raw.dpaa2.qdma");
if (dpaa2_qdma_logtype >= 0)