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 <simon@fire.lp0.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Simon Arlott 2015-11-15 16:14:32 +00:00 committed by Greg Kroah-Hartman
parent 17a6921971
commit 83f7fa6c29
1 changed files with 1 additions and 1 deletions

View File

@ -474,7 +474,7 @@ static int bcm_uart_startup(struct uart_port *port)
/* register irq and enable rx interrupts */ /* register irq and enable rx interrupts */
ret = request_irq(port->irq, bcm_uart_interrupt, 0, ret = request_irq(port->irq, bcm_uart_interrupt, 0,
bcm_uart_type(port), port); dev_name(port->dev), port);
if (ret) if (ret)
return ret; return ret;
bcm_uart_writel(port, UART_RX_INT_MASK, UART_IR_REG); bcm_uart_writel(port, UART_RX_INT_MASK, UART_IR_REG);