diff options
Diffstat (limited to 'drivers/serial/ioc3_serial.c')
-rw-r--r-- | drivers/serial/ioc3_serial.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/serial/ioc3_serial.c b/drivers/serial/ioc3_serial.c index 8097cd91f16b..2308d26c8629 100644 --- a/drivers/serial/ioc3_serial.c +++ b/drivers/serial/ioc3_serial.c | |||
@@ -1428,13 +1428,12 @@ static int receive_chars(struct uart_port *the_port) | |||
1428 | * @is : submodule | 1428 | * @is : submodule |
1429 | * @idd: driver data | 1429 | * @idd: driver data |
1430 | * @pending: interrupts to handle | 1430 | * @pending: interrupts to handle |
1431 | * @regs: pt_regs | ||
1432 | */ | 1431 | */ |
1433 | 1432 | ||
1434 | static int inline | 1433 | static int inline |
1435 | ioc3uart_intr_one(struct ioc3_submodule *is, | 1434 | ioc3uart_intr_one(struct ioc3_submodule *is, |
1436 | struct ioc3_driver_data *idd, | 1435 | struct ioc3_driver_data *idd, |
1437 | unsigned int pending, struct pt_regs *regs) | 1436 | unsigned int pending) |
1438 | { | 1437 | { |
1439 | int port_num = GET_PORT_FROM_SIO_IR(pending); | 1438 | int port_num = GET_PORT_FROM_SIO_IR(pending); |
1440 | struct port_hooks *hooks; | 1439 | struct port_hooks *hooks; |
@@ -1628,13 +1627,12 @@ ioc3uart_intr_one(struct ioc3_submodule *is, | |||
1628 | * @is : submodule | 1627 | * @is : submodule |
1629 | * @idd: driver data | 1628 | * @idd: driver data |
1630 | * @pending: interrupts to handle | 1629 | * @pending: interrupts to handle |
1631 | * @regs: pt_regs | ||
1632 | * | 1630 | * |
1633 | */ | 1631 | */ |
1634 | 1632 | ||
1635 | static int ioc3uart_intr(struct ioc3_submodule *is, | 1633 | static int ioc3uart_intr(struct ioc3_submodule *is, |
1636 | struct ioc3_driver_data *idd, | 1634 | struct ioc3_driver_data *idd, |
1637 | unsigned int pending, struct pt_regs *regs) | 1635 | unsigned int pending) |
1638 | { | 1636 | { |
1639 | int ret = 0; | 1637 | int ret = 0; |
1640 | 1638 | ||
@@ -1644,9 +1642,9 @@ static int ioc3uart_intr(struct ioc3_submodule *is, | |||
1644 | */ | 1642 | */ |
1645 | 1643 | ||
1646 | if (pending & SIO_IR_SA) | 1644 | if (pending & SIO_IR_SA) |
1647 | ret |= ioc3uart_intr_one(is, idd, pending & SIO_IR_SA, regs); | 1645 | ret |= ioc3uart_intr_one(is, idd, pending & SIO_IR_SA); |
1648 | if (pending & SIO_IR_SB) | 1646 | if (pending & SIO_IR_SB) |
1649 | ret |= ioc3uart_intr_one(is, idd, pending & SIO_IR_SB, regs); | 1647 | ret |= ioc3uart_intr_one(is, idd, pending & SIO_IR_SB); |
1650 | 1648 | ||
1651 | return ret; | 1649 | return ret; |
1652 | } | 1650 | } |