[drivers/core] revise the macros of header files

the macros is too common to use so that to avoid conflicts
This commit is contained in:
Meco Man 2023-07-28 19:12:47 -04:00
parent 4e0225a48d
commit 32e50cd68b
4 changed files with 8 additions and 8 deletions

View File

@ -8,8 +8,8 @@
* 2023-04-12 ErikChan the first version
*/
#ifndef __BUS_H__
#define __BUS_H__
#ifndef __CORE_BUS_H__
#define __CORE_BUS_H__
#include <rthw.h>
#include <drivers/core/device.h>

View File

@ -8,8 +8,8 @@
* 2023-04-12 ErikChan the first version
*/
#ifndef __DEVICE_H__
#define __DEVICE_H__
#ifndef __CORE_DEVICE_H__
#define __CORE_DEVICE_H__
#include <rtdef.h>

View File

@ -8,8 +8,8 @@
* 2023-04-20 ErikChan the first version
*/
#ifndef __RT_DM_H__
#define __RT_DM_H__
#ifndef __CORE_DM_H__
#define __CORE_DM_H__
#include <rthw.h>
#include <rtdef.h>

View File

@ -8,8 +8,8 @@
* 2023-04-12 ErikChan the first version
*/
#ifndef __DRIVER_H__
#define __DRIVER_H__
#ifndef __CORE_DRIVER_H__
#define __CORE_DRIVER_H__
#include <drivers/core/device.h>