aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r--drivers/tty/serial/imx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index d1859724bf2a..37c39390efb7 100644
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
@@ -1116,25 +1116,25 @@ static int imx_startup(struct uart_port *port)
1116 */ 1116 */
1117 if (sport->txirq > 0) { 1117 if (sport->txirq > 0) {
1118 retval = request_irq(sport->rxirq, imx_rxint, 0, 1118 retval = request_irq(sport->rxirq, imx_rxint, 0,
1119 DRIVER_NAME, sport); 1119 dev_name(port->dev), sport);
1120 if (retval) 1120 if (retval)
1121 goto error_out1; 1121 goto error_out1;
1122 1122
1123 retval = request_irq(sport->txirq, imx_txint, 0, 1123 retval = request_irq(sport->txirq, imx_txint, 0,
1124 DRIVER_NAME, sport); 1124 dev_name(port->dev), sport);
1125 if (retval) 1125 if (retval)
1126 goto error_out2; 1126 goto error_out2;
1127 1127
1128 /* do not use RTS IRQ on IrDA */ 1128 /* do not use RTS IRQ on IrDA */
1129 if (!USE_IRDA(sport)) { 1129 if (!USE_IRDA(sport)) {
1130 retval = request_irq(sport->rtsirq, imx_rtsint, 0, 1130 retval = request_irq(sport->rtsirq, imx_rtsint, 0,
1131 DRIVER_NAME, sport); 1131 dev_name(port->dev), sport);
1132 if (retval) 1132 if (retval)
1133 goto error_out3; 1133 goto error_out3;
1134 } 1134 }
1135 } else { 1135 } else {
1136 retval = request_irq(sport->port.irq, imx_int, 0, 1136 retval = request_irq(sport->port.irq, imx_int, 0,
1137 DRIVER_NAME, sport); 1137 dev_name(port->dev), sport);
1138 if (retval) { 1138 if (retval) {
1139 free_irq(sport->port.irq, sport); 1139 free_irq(sport->port.irq, sport);
1140 goto error_out1; 1140 goto error_out1;