Skip to content

Commit 83f7fa6

Browse files
nomisgregkh
authored andcommitted
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. Signed-off-by: Simon Arlott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 17a6921 commit 83f7fa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/serial/bcm63xx_uart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ static int bcm_uart_startup(struct uart_port *port)
474474

475475
/* register irq and enable rx interrupts */
476476
ret = request_irq(port->irq, bcm_uart_interrupt, 0,
477-
bcm_uart_type(port), port);
477+
dev_name(port->dev), port);
478478
if (ret)
479479
return ret;
480480
bcm_uart_writel(port, UART_RX_INT_MASK, UART_IR_REG);

0 commit comments

Comments
 (0)