projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd21f55
)
serial: imx: set sport as drvdata, like it's used elsewhere
author
Richard Zhao
<richard.zhao@freescale.com>
Tue, 18 Sep 2012 08:14:58 +0000
(16:14 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 21 Sep 2012 16:53:15 +0000
(09:53 -0700)
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/imx.c
b/drivers/tty/serial/imx.c
index 5952b25c288e01355ab6f4d622796e8a9cbdb98b..49f664f72870bbc0f0b27b188dce209b9e2dd21a 100644
(file)
--- a/
drivers/tty/serial/imx.c
+++ b/
drivers/tty/serial/imx.c
@@
-1540,7
+1540,7
@@
static int serial_imx_probe(struct platform_device *pdev)
ret = uart_add_one_port(&imx_reg, &sport->port);
if (ret)
goto deinit;
- platform_set_drvdata(pdev,
&sport->
port);
+ platform_set_drvdata(pdev,
s
port);
return 0;
deinit: