new file mode 100644
@@ -0,0 +1,26 @@
+/* Copyright (c) 2015, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#include <odp_debug_internal.h>
+
+/**
+ * Log error message.
+ */
+#define DRV_ERR(fmt, ...) \
+ ODP_ERR("DRIVER: " fmt, ##__VA_ARGS__)
+
+/**
+ * Log debug message.
+ */
+#define DRV_DBG(fmt, ...) \
+ ODP_DBG("DRIVER: " fmt, ##__VA_ARGS__)
+
+/**
+ * Log debug message.
+ */
+#define DRV_ABORT(fmt, ...) \
+ ODP_ABORT("DRIVER: " fmt, ##__VA_ARGS__)
+
These map 1:1 to the ODP ones at the time being but may be redefined if needed. Signed-off-by: Christophe Milard <christophe.milard@linaro.org> --- drivers/driver_log.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 drivers/driver_log.h