summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2024-12-11 17:38:26 +0800
committerRbb666 <[email protected]>2024-12-13 10:39:20 +0800
commit63bbce1c1ffd43d29bed5cce8b58ba5e3c4a4287 (patch)
treef6669d6f60abf9e67d09e6de580b69324e1a30f1
parentee5b7f1de95cbed82fad08112821dd81cdc66d0f (diff)
[DM/FIXUP] include name default
Signed-off-by: GuEe-GUI <[email protected]>
-rw-r--r--components/drivers/include/drivers/core/dm.h1
-rw-r--r--components/drivers/led/led.c2
-rw-r--r--components/drivers/mailbox/mailbox.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/components/drivers/include/drivers/core/dm.h b/components/drivers/include/drivers/core/dm.h
index ced82d0c23..1a3723a650 100644
--- a/components/drivers/include/drivers/core/dm.h
+++ b/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
diff --git a/components/drivers/led/led.c b/components/drivers/led/led.c
index 8bfd44bfe2..611a16de93 100644
--- a/components/drivers/led/led.c
+++ b/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
{
diff --git a/components/drivers/mailbox/mailbox.c b/components/drivers/mailbox/mailbox.c
index ef3ea4ff52..5e94241f64 100644
--- a/components/drivers/mailbox/mailbox.c
+++ b/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);