Commit c012f19d authored by Ben Dooks's avatar Ben Dooks Committed by Russell King

[ARM PATCH] 2495/1: 21285 - fix build warnings

Patch from Ben Dooks

21285 serial driver has a couple of sparse errors from zero
initialiser, as well as an unused label.

Signed-off-by: Ben Dooks
Signed-off-by: Russell King
parent 55935dfd
......@@ -142,7 +142,6 @@ static irqreturn_t serial21285_rx_chars(int irq, void *dev_id, struct pt_regs *r
}
tty_flip_buffer_push(tty);
out:
return IRQ_HANDLED;
}
......@@ -383,11 +382,9 @@ static struct uart_ops serial21285_ops = {
};
static struct uart_port serial21285_port = {
.membase = 0,
.mapbase = 0x42000160,
.iotype = SERIAL_IO_MEM,
.irq = NO_IRQ,
.uartclk = 0,
.fifosize = 16,
.ops = &serial21285_ops,
.flags = ASYNC_BOOT_AUTOCONF,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment