summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/meson_uart.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2017-04-19 22:18:16 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-18 16:37:27 +0200
commit8b7a6b2b8e379eaa7d5074ad37ab3759112923aa (patch)
tree351e58d02092e2a4dbf5e497480e7c2590c7ed7d /drivers/tty/serial/meson_uart.c
parent1b1ecaa69c4f90e79f1083778b2cf50eba2573c2 (diff)
serial: meson: change interrupt description to tty name
Change interrupt description from driver name to tty name (e.g. ttyAML0). If multiple serial ports are enabled this allows to determine which interrupt belongs to which port in /proc/interrupts. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/meson_uart.c')
-rw-r--r--drivers/tty/serial/meson_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c
index 171eb673ed8c..082e038e67f8 100644
--- a/drivers/tty/serial/meson_uart.c
+++ b/drivers/tty/serial/meson_uart.c
@@ -295,7 +295,7 @@ static int meson_uart_startup(struct uart_port *port)
writel(val, port->membase + AML_UART_MISC);
ret = request_irq(port->irq, meson_uart_interrupt, 0,
- meson_uart_type(port), port);
+ port->name, port);
return ret;
}