summaryrefslogtreecommitdiff
path: root/libcpu/arm
diff options
context:
space:
mode:
authorwuyangyong <[email protected]>2010-11-29 18:20:11 +0000
committerwuyangyong <[email protected]>2010-11-29 18:20:11 +0000
commit1e5518ee84fa3704cd16fd8aa909302f2833012d (patch)
tree76f195dfc3b24417815b8ce17eabeaec98751943 /libcpu/arm
parente583f2031b6be8c765f372a33dec77526c61b713 (diff)
update lpc2148 bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1148 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'libcpu/arm')
-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);