Merge pull request #4050 from DavidLin1577/patch-14
[bsp/drivers]Update vbus_hw.h
This commit is contained in:
commit
d402e074b7
|
@ -26,6 +26,9 @@
|
||||||
* 2015-01-07 Grissiom init commit
|
* 2015-01-07 Grissiom init commit
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef __VBUS_HW_H__
|
||||||
|
#define __VBUS_HW_H__
|
||||||
|
|
||||||
#include <rtthread.h>
|
#include <rtthread.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <gic.h>
|
#include <gic.h>
|
||||||
|
@ -52,3 +55,5 @@ rt_inline void rt_vbus_smp_mb(void)
|
||||||
{
|
{
|
||||||
asm volatile ("dsb" : : : "memory");
|
asm volatile ("dsb" : : : "memory");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* __VBUS_HW_H__ */
|
||||||
|
|
Loading…
Reference in New Issue