* [PATCH 01/16] bus/dpaa: add define guards to avoid multiple inclusion
@ 2022-02-06 3:58 Weiguo Li
0 siblings, 0 replies; only message in thread
From: Weiguo Li @ 2022-02-06 3:58 UTC (permalink / raw)
To: dev
Supplement define guards to prevent multiple inclusion.
Signed-off-by: Weiguo Li <liwg06@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-06 3:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-06 3:58 [PATCH 01/16] bus/dpaa: add define guards to avoid multiple inclusion Weiguo Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).