[PATCH 4/6] net/dpaa2: fix the curly braces mismatch problem

Weiguo Li liwg06 at foxmail.com
Sun Feb 6 01:44:12 CET 2022


Supplement the second half of braces for the extern "C" block

Fixes: 72ec7a678e70 ("net/dpaa2: add soft parser driver")
Cc: sunil.kori at nxp.com

Signed-off-by: Weiguo Li <liwg06 at foxmail.com>
---
 drivers/net/dpaa2/dpaa2_sparser.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/net/dpaa2/dpaa2_sparser.h b/drivers/net/dpaa2/dpaa2_sparser.h
index 365b8062a9..309a08979f 100644
--- a/drivers/net/dpaa2/dpaa2_sparser.h
+++ b/drivers/net/dpaa2/dpaa2_sparser.h
@@ -203,4 +203,9 @@ int dpaa2_eth_load_wriop_soft_parser(struct dpaa2_dev_priv *priv,
 		enum dpni_soft_sequence_dest dest);
 int dpaa2_eth_enable_wriop_soft_parser(struct dpaa2_dev_priv *priv,
 		enum dpni_soft_sequence_dest dest);
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _DPAA2_SPARSER_H_ */
-- 
2.25.1



More information about the dev mailing list