summaryrefslogtreecommitdiff
path: root/include/rtdef.h
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-01-31 01:29:22 +0000
committer[email protected] <[email protected]>2012-01-31 01:29:22 +0000
commit4f72d1cba1de7007b930729a49e31e89e5f83fc9 (patch)
treecb78b40242314b7212dcf30fd64365018570e087 /include/rtdef.h
parent18888679cd2008b8a5fbc3082f2e562f63c767b3 (diff)
remove some warning in jffs2, and fix armcc compile error when using scons
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1929 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'include/rtdef.h')
-rw-r--r--include/rtdef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 0847db737d..0b1b2e4640 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -620,6 +620,7 @@ enum rt_device_class_type
#define RT_DEVICE_CTRL_MTD_FORMAT 0x10 /**< format a MTD device */
#define RT_DEVICE_CTRL_RTC_GET_TIME 0x10 /**< get time */
#define RT_DEVICE_CTRL_RTC_SET_TIME 0x11 /**< set time */
+#define RT_DEVICE_CTRL_BLK_ERASE 0x12 /**< erase */
typedef struct rt_device *rt_device_t;
/**