bus/dpaa: fix C++ include guard

Supplement the missing half of braces for the extern "C" block,
or remove the incomplete guard in internal header.

Fixes: 6d6b4f49a1 ("bus/dpaa: add FMAN hardware operations")
Fixes: 919eeaccb2 ("bus/dpaa: introduce NXP DPAA bus driver skeleton")

Signed-off-by: Weiguo Li <liwg06@foxmail.com>
This commit is contained in:
Weiguo Li 2022-02-07 20:36:56 +08:00 committed by Thomas Monjalon
parent 0edc1f408a
commit 1785d9eb62
2 changed files with 4 additions and 4 deletions

View File

@ -9,10 +9,6 @@
#include <rte_compat.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Status field in FD is updated on Rx side by FMAN with following information.
* Refer to field description in FM BG.
*/

View File

@ -17,6 +17,10 @@
#include <fsl_bman.h>
#include <netcfg.h>
#ifdef __cplusplus
extern "C" {
#endif
/* This sequence number field is used to store event entry index for
* driver specific usage. For parallel mode queues, invalid
* index will be set and for atomic mode queues, valid value