summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2024-10-30 10:44:16 +0800
committerRbb666 <[email protected]>2024-11-20 16:11:10 +0800
commitc424cb8186950dcc0176ef9c584562cad674a636 (patch)
treef00ce2f4b16270af8dd2dc9c264b5a9fe1a4cddb /components/drivers/include/rtdevice.h
parent10cac76d3bfc86fda251013c5573c146836762e7 (diff)
[DM/FEATURE] Support simple block layer
1. Disk and blk device management. 2. Support partitions probe auto. 3. Support DFS and user mode fops, ioctl. 4. Add a cmd for blk info. Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-rw-r--r--components/drivers/include/rtdevice.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index 2a30d8f0d5..21ad8cb2a6 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -45,6 +45,10 @@ extern "C" {
#include "drivers/core/power_domain.h"
#include "drivers/platform.h"
+#ifdef RT_USING_BLK
+#include "drivers/blk.h"
+#endif
+
#ifdef RT_USING_OFW
#include "drivers/ofw.h"
#include "drivers/ofw_fdt.h"