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
This commit is contained in:
bernard.xiong 2010-11-29 07:48:17 +00:00
parent 5a4d618832
commit 5d8c15c4bb
1 changed files with 1 additions and 1 deletions

View File

@ -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;