[PATCH 01/16] bus/dpaa: add define guards to avoid multiple inclusion
Weiguo Li
liwg06 at foxmail.com
Sun Feb 6 04:58:31 CET 2022
Supplement define guards to prevent multiple inclusion.
Signed-off-by: Weiguo Li <liwg06 at foxmail.com>
---
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..19be738424 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
More information about the dev
mailing list