diff options
author | Richard Zhao <richard.zhao@freescale.com> | 2012-09-18 04:14:58 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-21 12:53:15 -0400 |
commit | 0a86a86b92312dacf74008ea1e1f4df20362f9f4 (patch) | |
tree | ed1045efd7ea198248d21992297da31541c2e377 /drivers/tty/serial | |
parent | bd21f551c365e50a241b4cee4bc8be72914ff236 (diff) |
serial: imx: set sport as drvdata, like it's used elsewhere
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>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r-- | drivers/tty/serial/imx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 5952b25c288e..49f664f72870 100644 --- 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) | |||
1540 | ret = uart_add_one_port(&imx_reg, &sport->port); | 1540 | ret = uart_add_one_port(&imx_reg, &sport->port); |
1541 | if (ret) | 1541 | if (ret) |
1542 | goto deinit; | 1542 | goto deinit; |
1543 | platform_set_drvdata(pdev, &sport->port); | 1543 | platform_set_drvdata(pdev, sport); |
1544 | 1544 | ||
1545 | return 0; | 1545 | return 0; |
1546 | deinit: | 1546 | deinit: |