summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-01-08 14:14:54 +0000
committer[email protected] <[email protected]>2012-01-08 14:14:54 +0000
commit5588bbe4d2401f436c8a09147094fa92b1b3322f (patch)
tree1173c7490fa080af35187e7ceda12277c5568b75 /components/drivers/include/rtdevice.h
parent107ed32e8071900380cccc7ac29b18317b449363 (diff)
add some device driver header files.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1910 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-rw-r--r--components/drivers/include/rtdevice.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
new file mode 100644
index 0000000000..41ce642556
--- /dev/null
+++ b/components/drivers/include/rtdevice.h
@@ -0,0 +1,22 @@
+#ifndef __RT_DEVICE_H__
+#define __RT_DEVICE_H__
+
+#include <rtthread.h>
+
+#ifdef RT_USING_SPI
+#include "drivers/spi.h"
+#endif
+
+#ifdef RT_USING_MTD
+#include "drivers/mtd.h"
+#endif
+
+#ifdef RT_USING_USB_DEVICE
+#include "drivers/usb_device.h"
+#endif
+
+#ifdef RT_USING_USB_HOST
+#include "drivers/usb_host.h"
+#endif
+
+#endif