fm10k: fix build with debug enabled

error: implicit declaration of function ‘RTE_LOG’

Fixes: a6061d9e7075 ("fm10k: register PF driver")

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
Thomas Monjalon 2015-03-03 11:45:02 +01:00
parent 22e34d1211
commit ae6ad6b0c4

View File

@ -34,6 +34,8 @@
#ifndef _FM10K_LOGS_H_
#define _FM10K_LOGS_H_
#include <rte_log.h>
#define PMD_INIT_LOG(level, fmt, args...) \
rte_log(RTE_LOG_ ## level, RTE_LOGTYPE_PMD, \
"PMD: %s(): " fmt "\n", __func__, ##args)