From 5d8c15c4bbe91ffe3cf35461e7a8a9b527c18d22 Mon Sep 17 00:00:00 2001 From: "bernard.xiong" Date: Mon, 29 Nov 2010 07:48:17 +0000 Subject: [PATCH] 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 --- components/dfs/filesystems/devfs/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- GitLab