diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2023-12-17 22:56:01 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-04 18:20:51 +0300 |
commit | f0635480462f3fd03953b2af2ea8d3229e2a7e08 (patch) | |
tree | 399af8f98fa5d9bc02699312b75e92c80bfdca00 /drivers/tty | |
parent | 6056f20f27e99fb67582f299468328505f130e36 (diff) | |
download | linux-f0635480462f3fd03953b2af2ea8d3229e2a7e08.tar.xz |
tty/serial: altera_uart: use more informative labels in /proc/interrupts
Prior to this patch:
~# cat /proc/interrupts
...
40: 123 0 GIC-0 72 Level altera_uart
41: 9 0 GIC-0 73 Level altera_uart
After this patch:
~# cat /proc/interrupts
...
40: 6 0 GIC-0 72 Level ff200100.fpga-uart0
41: 28 0 GIC-0 73 Level ff200200.fpga-uart1
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Acked-by: Tobias Klauser <tklauser@distanz.ch>
Link: https://lore.kernel.org/r/20231217195601.236002-1-antonynpavlov@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/altera_uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/altera_uart.c b/drivers/tty/serial/altera_uart.c index 081bec31dbd8..897f0995b2fe 100644 --- a/drivers/tty/serial/altera_uart.c +++ b/drivers/tty/serial/altera_uart.c @@ -305,7 +305,7 @@ static int altera_uart_startup(struct uart_port *port) int ret; ret = request_irq(port->irq, altera_uart_interrupt, 0, - DRV_NAME, port); + dev_name(port->dev), port); if (ret) { pr_err(DRV_NAME ": unable to attach Altera UART %d " "interrupt vector=%d\n", port->line, port->irq); |