summaryrefslogtreecommitdiff
path: root/bsp/dev3210/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/dev3210/uart.c')
-rw-r--r--bsp/dev3210/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/dev3210/uart.c b/bsp/dev3210/uart.c
index 8851678e68..22c2486e98 100644
--- a/bsp/dev3210/uart.c
+++ b/bsp/dev3210/uart.c
@@ -272,7 +272,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,
"uart", RT_DEVICE_FLAG_RDWR | RT_DEVICE_FLAG_STREAM | RT_DEVICE_FLAG_INT_RX);