* [PATCH] bcm63xx_uart: Use the device name when registering an interrupt
@ 2015-11-15 16:14 Simon Arlott
0 siblings, 0 replies; only message in thread
From: Simon Arlott @ 2015-11-15 16:14 UTC (permalink / raw)
To: Greg Kroah-Hartman, linux-serial; +Cc: Jiri Slaby, Linux Kernel Mailing List
Use the device name when registering an interrupt so that multiple
ports don't all have the same interrupt name.
Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
---
drivers/tty/serial/bcm63xx_uart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/bcm63xx_uart.c b/drivers/tty/serial/bcm63xx_uart.c
index 681e0f3..a1c0a89 100644
--- a/drivers/tty/serial/bcm63xx_uart.c
+++ b/drivers/tty/serial/bcm63xx_uart.c
@@ -474,7 +474,7 @@ static int bcm_uart_startup(struct uart_port *port)
/* register irq and enable rx interrupts */
ret = request_irq(port->irq, bcm_uart_interrupt, 0,
- bcm_uart_type(port), port);
+ dev_name(port->dev), port);
if (ret)
return ret;
bcm_uart_writel(port, UART_RX_INT_MASK, UART_IR_REG);
--
2.1.4
--
Simon Arlott
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-11-15 16:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-15 16:14 [PATCH] bcm63xx_uart: Use the device name when registering an interrupt Simon Arlott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox