Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=fa7f1518e8a107e1feab0357b18c745b9a6927c5 Commit: fa7f1518e8a107e1feab0357b18c745b9a6927c5 Parent: 1f809226b9f4d3a89e42212fed7b482e8b30f77c Author: Philipp Zabel <[EMAIL PROTECTED]> AuthorDate: Thu Nov 22 17:52:47 2007 +0100 Committer: Russell King <[EMAIL PROTECTED]> CommitDate: Mon Nov 26 14:39:12 2007 +0000
[ARM] 4662/1: Fix PXA serial driver compilation if SERIAL_PXA_CONSOLE is disabled Signed-off-by: Philipp Zabel <[EMAIL PROTECTED]> Signed-off-by: Russell King <[EMAIL PROTECTED]> --- drivers/serial/pxa.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/serial/pxa.c b/drivers/serial/pxa.c index af3a011..352fcb8 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) /* - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html