Browse Source

Merge pull request #4050 from DavidLin1577/patch-14

[bsp/drivers]Update vbus_hw.h
Bernard Xiong 4 years ago
parent
commit
d402e074b7
1 changed files with 5 additions and 0 deletions
  1. 5 0
      bsp/qemu-vexpress-gemini/drivers/vbus_hw.h

+ 5 - 0
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__ */