summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-04-02 16:34:15 +0000
committer[email protected] <[email protected]>2012-04-02 16:34:15 +0000
commit9e6d01253560157c4066bccdf7bcb55f0e1bdafa (patch)
tree5f20d48bd216a8839da5809629d05e4b09403906 /components/drivers/include/rtdevice.h
parent0b4c769f10e0462965990c353a680255d1d8d577 (diff)
add mtd_nand interface code
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2016 bbd45198-f89e-11dd-88c7-29a3b14d5316
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 e6b7dddd40..583c9afe07 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -13,6 +13,10 @@
#include "drivers/mtd.h"
#endif
+#ifdef RT_USING_MTD_NAND
+#include "drivers/mtd_nand.h"
+#endif
+
#ifdef RT_USING_USB_DEVICE
#include "drivers/usb_device.h"
#endif