Skip to content

Commit d402e07

Browse files
authored
Merge pull request #4050 from DavidLin1577/patch-14
[bsp/drivers]Update vbus_hw.h
2 parents 4fc7fbb + 33098b9 commit d402e07

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bsp/qemu-vexpress-gemini/drivers/vbus_hw.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
* 2015-01-07 Grissiom init commit
2727
*/
2828

29+
#ifndef __VBUS_HW_H__
30+
#define __VBUS_HW_H__
31+
2932
#include <rtthread.h>
3033
#include <stddef.h>
3134
#include <gic.h>
@@ -52,3 +55,5 @@ rt_inline void rt_vbus_smp_mb(void)
5255
{
5356
asm volatile ("dsb" : : : "memory");
5457
}
58+
59+
#endif /* __VBUS_HW_H__ */

0 commit comments

Comments
 (0)