Pārlūkot izejas kodu

Update vbus_hw.h

Added define __VBUS_HW_H__
David Lin 4 gadi atpakaļ
vecāks
revīzija
33098b9294
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  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__ */