summaryrefslogtreecommitdiff
path: root/bsp/upd70f3454
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2010-11-29 07:49:59 +0000
committerbernard.xiong <[email protected]>2010-11-29 07:49:59 +0000
commit4d88d694d53b3bd3388226433634d7a7e4b1d895 (patch)
tree5833d139eb0527c767ccc488b84e0937b43ad5b2 /bsp/upd70f3454
parent5d8c15c4bbe91ffe3cf35461e7a8a9b527c18d22 (diff)
rename the private field in device to user_data.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1135 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/upd70f3454')
-rw-r--r--bsp/upd70f3454/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/upd70f3454/uart.c b/bsp/upd70f3454/uart.c
index d0299438c2..d660bcc45b 100644
--- a/bsp/upd70f3454/uart.c
+++ b/bsp/upd70f3454/uart.c
@@ -237,7 +237,7 @@ void rt_hw_uart_init(void)
uart->parent.read = rt_uart_read;
uart->parent.write = rt_uart_write;
uart->parent.control = RT_NULL;
- uart->parent.private = RT_NULL;
+ uart->parent.user_data = RT_NULL;
rt_device_register(&uart->parent,
"uart0", RT_DEVICE_FLAG_RDWR | RT_DEVICE_FLAG_STREAM | RT_DEVICE_FLAG_INT_RX);