summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2025-12-22 12:58:36 +0800
committerR b b666 <[email protected]>2025-12-22 13:24:41 +0800
commit9370f81ad7dc90f1312e1ea527d8b0f01e682b5c (patch)
treed9da5f1230c8bfdca08d8b15a9bf521c7dff9a2c /components/drivers/include/rtdevice.h
parentdd3cee9646a47e571d0ff1d9d169cde95686e9d5 (diff)
[dm][include] fixup loss' header
Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-rw-r--r--components/drivers/include/rtdevice.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index c260fa448b..ce7d730793 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -46,6 +46,13 @@ extern "C" {
#include "drivers/core/power_domain.h"
#include "drivers/platform.h"
+#ifdef RT_USING_GRAPHIC
+#include "drivers/graphic.h"
+#ifdef RT_GRAPHIC_BACKLIGHT
+#include "drivers/backlight.h"
+#endif /* RT_GRAPHIC_BACKLIGHT */
+#endif /* RT_USING_GRAPHIC */
+
#ifdef RT_USING_ATA
#ifdef RT_ATA_AHCI
#include "drivers/ahci.h"