diff options
-rw-r--r-- | drivers/tty/serial/altera_uart.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/altera_uart.c b/drivers/tty/serial/altera_uart.c index 46d3438a0d27..3e4b717670d7 100644 --- a/drivers/tty/serial/altera_uart.c +++ b/drivers/tty/serial/altera_uart.c | |||
@@ -615,6 +615,7 @@ static int altera_uart_remove(struct platform_device *pdev) | |||
615 | if (port) { | 615 | if (port) { |
616 | uart_remove_one_port(&altera_uart_driver, port); | 616 | uart_remove_one_port(&altera_uart_driver, port); |
617 | port->mapbase = 0; | 617 | port->mapbase = 0; |
618 | iounmap(port->membase); | ||
618 | } | 619 | } |
619 | 620 | ||
620 | return 0; | 621 | return 0; |