summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/arm/lpc214x/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/lpc214x/serial.c b/libcpu/arm/lpc214x/serial.c
index d616fad8b4..e8f7a49cb4 100644
--- a/libcpu/arm/lpc214x/serial.c
+++ b/libcpu/arm/lpc214x/serial.c
@@ -340,7 +340,7 @@ void rt_hw_serial_init(void)
lpc_serial->parent.read = rt_serial_read;
lpc_serial->parent.write = rt_serial_write;
lpc_serial->parent.control = rt_serial_control;
- lpc_serial->parent.private = RT_NULL;
+ lpc_serial->parent.user_data = RT_NULL;
rt_device_register(&lpc_serial->parent,
"uart1", RT_DEVICE_FLAG_RDWR | RT_DEVICE_FLAG_INT_RX);