From 33098b9294bf8d2e31682acf2c0e395314227ed1 Mon Sep 17 00:00:00 2001 From: David Lin Date: Fri, 20 Nov 2020 21:44:25 +0800 Subject: [PATCH] Update vbus_hw.h Added define __VBUS_HW_H__ --- bsp/qemu-vexpress-gemini/drivers/vbus_hw.h | 5 +++++ 1 file changed, 5 insertions(+) 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 #include #include @@ -52,3 +55,5 @@ rt_inline void rt_vbus_smp_mb(void) { asm volatile ("dsb" : : : "memory"); } + +#endif /* __VBUS_HW_H__ */