From 32e50cd68b3e5f79a72ce6f515277c1ea02067cf Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Fri, 28 Jul 2023 19:12:47 -0400 Subject: [PATCH] [drivers/core] revise the macros of header files the macros is too common to use so that to avoid conflicts --- components/drivers/include/drivers/core/bus.h | 4 ++-- components/drivers/include/drivers/core/device.h | 4 ++-- components/drivers/include/drivers/core/dm.h | 4 ++-- 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 #include 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 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 #include 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