Supplement define guards to prevent multiple inclusion.

Signed-off-by: Weiguo Li <liw...@foxmail.com>

---
v2:
* update to a simple guard style
---
 drivers/bus/dpaa/base/qbman/qman.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/bus/dpaa/base/qbman/qman.h 
b/drivers/bus/dpaa/base/qbman/qman.h
index 4346d86537..3928446d19 100644
--- a/drivers/bus/dpaa/base/qbman/qman.h
+++ b/drivers/bus/dpaa/base/qbman/qman.h
@@ -5,6 +5,9 @@
  *
  */
 
+#ifndef QBMAN_QMAN_H
+#define QBMAN_QMAN_H
+
 #include "qman_priv.h"
 
 /***************************/
@@ -911,3 +914,5 @@ static inline void __qm_isr_write(struct qm_portal *portal, 
enum qm_isr_reg n,
        __qm_out(&portal->addr, QM_REG_ISR + (n << 2), val);
 #endif
 }
+
+#endif /* QBMAN_QMAN_H */
-- 
2.25.1

Reply via email to