Browse Source

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
bernard.xiong 14 years ago
parent
commit
5d8c15c4bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/dfs/filesystems/devfs/console.c

+ 1 - 1
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;