Jelajahi Sumber

[drivers/core] revise the macros of header files

the macros is too common to use so that to avoid conflicts
Meco Man 2 tahun lalu
induk
melakukan
32e50cd68b

+ 2 - 2
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>

+ 2 - 2
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>
 

+ 2 - 2
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>

+ 2 - 2
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>