From 4f72d1cba1de7007b930729a49e31e89e5f83fc9 Mon Sep 17 00:00:00 2001 From: "goprife@gmail.com" Date: Tue, 31 Jan 2012 01:29:22 +0000 Subject: 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 --- include/rtdef.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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; /** -- cgit v1.3.1