summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2010-11-29 07:48:17 +0000
committerbernard.xiong <[email protected]>2010-11-29 07:48:17 +0000
commit5d8c15c4bbe91ffe3cf35461e7a8a9b527c18d22 (patch)
tree8762c772d5de16a23691236c0f0be1b525f168d3
parent5a4d618832c0cb817bc4cf8a0e3d753bda628355 (diff)
rename the private field in device to user_data.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1134 bbd45198-f89e-11dd-88c7-29a3b14d5316
-rw-r--r--components/dfs/filesystems/devfs/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/filesystems/devfs/console.c b/components/dfs/filesystems/devfs/console.c
index c8774613d2..46fc380460 100644
--- a/components/dfs/filesystems/devfs/console.c
+++ b/components/dfs/filesystems/devfs/console.c
@@ -75,7 +75,7 @@ void rt_console_init(const char* device_name)
console->parent.read = console_read;
console->parent.write = console_write;
console->parent.control = RT_NULL;
- console->parent.private = RT_NULL;
+ console->parent.user_data = RT_NULL;
console->device = device;