From 1e5518ee84fa3704cd16fd8aa909302f2833012d Mon Sep 17 00:00:00 2001 From: wuyangyong Date: Mon, 29 Nov 2010 18:20:11 +0000 Subject: update lpc2148 bsp git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1148 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- libcpu/arm/lpc214x/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcpu') 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); -- cgit v1.3.1