diff options
author | Jiri Kosina <jkosina@suse.cz> | 2015-09-01 16:35:24 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-09-01 16:35:24 +0300 |
commit | 067e2601d3c076abbf45db91261f9065eaa879b2 (patch) | |
tree | 86c8d4b913873dbd3b4ff23562a3a8597984b4df /drivers/tty/serial/etraxfs-uart.c | |
parent | 3e097d1271ecdff2f251a54ddfc5eaa1f9821e96 (diff) | |
parent | 931830aa5c251e0803523213428f777a48bde254 (diff) | |
download | linux-067e2601d3c076abbf45db91261f9065eaa879b2.tar.xz |
Merge branch 'for-4.3/gembird' into for-linus
Diffstat (limited to 'drivers/tty/serial/etraxfs-uart.c')
-rw-r--r-- | drivers/tty/serial/etraxfs-uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/etraxfs-uart.c b/drivers/tty/serial/etraxfs-uart.c index a57301a6fe42..679709f51fd4 100644 --- a/drivers/tty/serial/etraxfs-uart.c +++ b/drivers/tty/serial/etraxfs-uart.c @@ -950,7 +950,7 @@ static int etraxfs_uart_remove(struct platform_device *pdev) port = platform_get_drvdata(pdev); uart_remove_one_port(&etraxfs_uart_driver, port); - etraxfs_uart_ports[pdev->id] = NULL; + etraxfs_uart_ports[port->line] = NULL; return 0; } |