Skip to content

Commit

Permalink
bcm63xx_uart: Use the device name when registering an interrupt
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
nomis authored and gregkh committed Nov 21, 2015
1 parent 17a6921 commit 83f7fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/bcm63xx_uart.c
Expand Up @@ -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);
Expand Down

0 comments on commit 83f7fa6

Please sign in to comment.