diff options
| author | Russell King <rmk@flint.arm.linux.org.uk> | 2003-05-13 02:22:25 +0100 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2003-05-13 02:22:25 +0100 |
| commit | cb4169bc1fca8ee86e79ccfcc6a4586586cece42 (patch) | |
| tree | eddc1db4cf1bcea75be235db8b2a461581b4ee41 /drivers/serial/amba.c | |
| parent | d24804947d7844e4cf116cb1e42d7abed9b06c5e (diff) | |
[ARM] Update a variety of ARM drivers to use irqreturn_t.
Diffstat (limited to 'drivers/serial/amba.c')
| -rw-r--r-- | drivers/serial/amba.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/serial/amba.c b/drivers/serial/amba.c index 7ffa50b6f00b..34ae5a57b1bf 100644 --- a/drivers/serial/amba.c +++ b/drivers/serial/amba.c @@ -278,7 +278,7 @@ static void ambauart_modem_status(struct uart_port *port) wake_up_interruptible(&uap->port.info->delta_msr_wait); } -static void ambauart_int(int irq, void *dev_id, struct pt_regs *regs) +static irqreturn_t ambauart_int(int irq, void *dev_id, struct pt_regs *regs) { struct uart_port *port = dev_id; unsigned int status, pass_counter = AMBA_ISR_PASS_LIMIT; @@ -302,6 +302,8 @@ static void ambauart_int(int irq, void *dev_id, struct pt_regs *regs) status = UART_GET_INT_STATUS(port); } while (status & (AMBA_UARTIIR_RTIS | AMBA_UARTIIR_RIS | AMBA_UARTIIR_TIS)); + + return IRQ_HANDLED; } static unsigned int ambauart_tx_empty(struct uart_port *port) |
