summaryrefslogtreecommitdiff
path: root/components/drivers/include
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-06-18 03:11:40 +0000
committer[email protected] <[email protected]>2012-06-18 03:11:40 +0000
commitd228266e65a4473ecd5ee3680229c4ae3f7e389e (patch)
treee3aabed3690497172c68093eb572f947913b9df6 /components/drivers/include
parentefeb6231bee9822338f7ea21a7de804ca56681ee (diff)
Remove I2C device and add PM pseudo device.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2171 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/drivers/include')
-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 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__ */