Skip to content

Commit

Permalink
[ARM] 4662/1: Fix PXA serial driver compilation if SERIAL_PXA_CONSOLE…
Browse files Browse the repository at this point in the history
… is disabled

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Philipp Zabel authored and Russell King committed Nov 26, 2007
1 parent 1f80922 commit fa7f151
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/serial/pxa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)

/*
Expand Down

0 comments on commit fa7f151

Please sign in to comment.