summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2020-11-25 16:44:37 +0800
committerGitHub <[email protected]>2020-11-25 16:44:37 +0800
commitd402e074b7a6a1e7cd9987a0f25e77e8bf092801 (patch)
treed67832acf1ab1fc88af5e00f710b4d86526a3112
parent4fc7fbbd35b358f047d26f02de70b4b2410f5ff8 (diff)
parent33098b9294bf8d2e31682acf2c0e395314227ed1 (diff)
Merge pull request #4050 from DavidLin1577/patch-14
[bsp/drivers]Update vbus_hw.h
-rw-r--r--bsp/qemu-vexpress-gemini/drivers/vbus_hw.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bsp/qemu-vexpress-gemini/drivers/vbus_hw.h b/bsp/qemu-vexpress-gemini/drivers/vbus_hw.h
index 7eb02f2588..19c6fcc902 100644
--- a/bsp/qemu-vexpress-gemini/drivers/vbus_hw.h
+++ b/bsp/qemu-vexpress-gemini/drivers/vbus_hw.h
@@ -26,6 +26,9 @@
* 2015-01-07 Grissiom init commit
*/
+#ifndef __VBUS_HW_H__
+#define __VBUS_HW_H__
+
#include <rtthread.h>
#include <stddef.h>
#include <gic.h>
@@ -52,3 +55,5 @@ rt_inline void rt_vbus_smp_mb(void)
{
asm volatile ("dsb" : : : "memory");
}
+
+#endif /* __VBUS_HW_H__ */