summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorarmink <[email protected]>2018-10-29 09:49:12 +0800
committerarmink <[email protected]>2018-10-29 09:54:52 +0800
commit2d59fe031038e94dd626f3b172653bcb9bab9a2d (patch)
tree1672d1d0d2e4b1673af2fd4cb2b86341779f5976 /components/drivers/include/rtdevice.h
parent125195c870f71b8e5c8841be25a0675a863dee62 (diff)
[DeviceDriver] Add power management device driver.
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 e0499dcd20..1843432768 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -103,6 +103,10 @@ extern "C" {
#include "drivers/rt_drv_pwm.h"
#endif
+#ifdef RT_USING_PM
+#include "drivers/pm.h"
+#endif
+
#ifdef RT_USING_WIFI
#include "drivers/wlan.h"
#endif