summaryrefslogtreecommitdiffstats
path: root/drivers/serial/pxa.c
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2007-11-22 17:52:47 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-11-26 15:39:12 +0100
commitfa7f1518e8a107e1feab0357b18c745b9a6927c5 (patch)
treed3a6589878a9ea6f0498c8f85fb195be8d29f63b /drivers/serial/pxa.c
parent[ARM] PXA ssp: unlock when ssp tries to close an invalid port (diff)
downloadlinux-fa7f1518e8a107e1feab0357b18c745b9a6927c5.tar.xz
linux-fa7f1518e8a107e1feab0357b18c745b9a6927c5.zip
[ARM] 4662/1: Fix PXA serial driver compilation if SERIAL_PXA_CONSOLE is disabled
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/serial/pxa.c')
-rw-r--r--drivers/serial/pxa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/pxa.c b/drivers/serial/pxa.c
index af3a011b2b24..352fcb8926a6 100644
--- a/drivers/serial/pxa.c
+++ b/drivers/serial/pxa.c
@@ -585,11 +585,11 @@ serial_pxa_type(struct uart_port *port)
return up->name;
}
-#ifdef CONFIG_SERIAL_PXA_CONSOLE
-
static struct uart_pxa_port *serial_pxa_ports[4];
static struct uart_driver serial_pxa_reg;
+#ifdef CONFIG_SERIAL_PXA_CONSOLE
+
#define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
/*