diff options
| author | Meco Man <[email protected]> | 2023-07-28 19:12:47 -0400 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2023-07-28 22:17:14 -0400 |
| commit | 32e50cd68b3e5f79a72ce6f515277c1ea02067cf (patch) | |
| tree | 93bd601743037b3296c7be0c49f83d3d9be0cb95 /components | |
| parent | 4e0225a48d59976b74f6e06cec64532ce00495ad (diff) | |
[drivers/core] revise the macros of header files
the macros is too common to use so that to avoid conflicts
Diffstat (limited to 'components')
| -rw-r--r-- | components/drivers/include/drivers/core/bus.h | 4 | ||||
| -rw-r--r-- | components/drivers/include/drivers/core/device.h | 4 | ||||
| -rw-r--r-- | components/drivers/include/drivers/core/dm.h | 4 | ||||
| -rw-r--r-- | components/drivers/include/drivers/core/driver.h | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/components/drivers/include/drivers/core/bus.h b/components/drivers/include/drivers/core/bus.h index 10e7fa10ea..0f7a9f6e4b 100644 --- a/components/drivers/include/drivers/core/bus.h +++ b/components/drivers/include/drivers/core/bus.h @@ -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> diff --git a/components/drivers/include/drivers/core/device.h b/components/drivers/include/drivers/core/device.h index 87019a3797..a8d37e2613 100644 --- a/components/drivers/include/drivers/core/device.h +++ b/components/drivers/include/drivers/core/device.h @@ -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> diff --git a/components/drivers/include/drivers/core/dm.h b/components/drivers/include/drivers/core/dm.h index fc7d0d3a30..f016906499 100644 --- a/components/drivers/include/drivers/core/dm.h +++ b/components/drivers/include/drivers/core/dm.h @@ -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> diff --git a/components/drivers/include/drivers/core/driver.h b/components/drivers/include/drivers/core/driver.h index 60661a2cfb..b6d51dd9c3 100644 --- a/components/drivers/include/drivers/core/driver.h +++ b/components/drivers/include/drivers/core/driver.h @@ -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> |
