summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorzms123456 <[email protected]>2023-12-24 19:53:12 +0800
committerGitHub <[email protected]>2023-12-24 19:53:12 +0800
commite1fdc13288eb110d8280f68594c2d87e14446437 (patch)
treead4511fd2a660e0107d8da827c5fb0057bfb3545 /components/drivers/include/rtdevice.h
parent4a7f41531f57ee0e2d9d733294664495bfa768f0 (diff)
[component][drivers]add clk framework (#8213)
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 840afa8734..a48269af42 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -177,6 +177,10 @@ extern "C" {
#include "drivers/lcd.h"
#endif
+#ifdef RT_USING_CLK
+#include "drivers/clk.h"
+#endif /* RT_USING_CLK */
+
#ifdef RT_USING_DM
#include "drivers/core/dm.h"