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

Fixes: 3bd122eef2cc ("cxgbe/base: add hardware API for Chelsio T5 series 
adapters")
Cc: [email protected]

Signed-off-by: Weiguo Li <[email protected]>
---
 drivers/net/cxgbe/base/common.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/net/cxgbe/base/common.h b/drivers/net/cxgbe/base/common.h
index 58d7d7a8f2..473726c673 100644
--- a/drivers/net/cxgbe/base/common.h
+++ b/drivers/net/cxgbe/base/common.h
@@ -542,4 +542,9 @@ static inline int t4_memory_rw(struct adapter *adap, int 
win,
 {
        return t4_memory_rw_mtype(adap, win, mtype, maddr, len, hbuf, dir);
 }
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* __CHELSIO_COMMON_H */
-- 
2.25.1

Reply via email to