Sfoglia il codice sorgente

[DM/FIXUP] include name default

Signed-off-by: GuEe-GUI <2991707448@qq.com>
GuEe-GUI 8 mesi fa
parent
commit
63bbce1c1f

+ 1 - 0
components/drivers/include/drivers/core/dm.h

@@ -17,6 +17,7 @@
 #include <ioremap.h>
 #include <drivers/misc.h>
 #include <drivers/byteorder.h>
+#include <drivers/core/master_id.h>
 
 #ifndef RT_CPUS_NR
 #define RT_CPUS_NR 1

+ 1 - 1
components/drivers/led/led.c

@@ -15,7 +15,7 @@
 #include <rtdbg.h>
 
 #include <drivers/led.h>
-#include <drivers/core/rtdm.h>
+#include <drivers/core/dm.h>
 
 struct blink_timer
 {

+ 1 - 1
components/drivers/mailbox/mailbox.c

@@ -18,7 +18,7 @@
 #include <drivers/ofw.h>
 #include <drivers/mailbox.h>
 #include <drivers/platform.h>
-#include <drivers/core/rtdm.h>
+#include <drivers/core/dm.h>
 
 static struct rt_spinlock mbox_ops_lock = {};
 static rt_list_t mbox_nodes = RT_LIST_OBJECT_INIT(mbox_nodes);