Skip to contentSkip to conversation

bcm63xx_uart: Use the device name when registering an interrupt

PATCH New Simon Arlott 1 participant 1 message Nov 15, 2015 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bcm63xx_uart: Use the device name when registering an interrupt

Use the device name when registering an interrupt so that multiple ports don't all have the same interrupt name.

---
 drivers/tty/serial/bcm63xx_uart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/bcm63xx_uart.c +1 -1
index 681e0f3..a1c0a89 100644
@@ -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);
Signature · 4 lines
2.1.4

-- 
Simon Arlott