summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/drivers/include/rtdevice.h4
-rw-r--r--components/finsh/cmd.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index e1fcc2f9a2..d7a6bf5add 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -85,4 +85,8 @@ rt_size_t rt_ringbuffer_emptry_size(struct rt_ringbuffer* rb);
#endif /* RT_USING_I2C */
+#ifdef RT_USING_PM
+#include "drivers/pm.h"
+#endif
+
#endif /* __RT_DEVICE_H__ */
diff --git a/components/finsh/cmd.c b/components/finsh/cmd.c
index 4bc73efea9..b46fd0ac30 100644
--- a/components/finsh/cmd.c
+++ b/components/finsh/cmd.c
@@ -387,12 +387,12 @@ static long _list_device(struct rt_list_node *list)
"Sound Device",
"Graphic Device",
"I2C Bus",
- "I2C Device",
"USB Slave Device",
"USB Host Bus",
"SPI Bus",
"SPI Device",
"SDIO Bus",
+ "PM Pseudo Device",
"Unknown"
};