From 1904b1b67bd6fd365cfbbb5d29f73092b8229a91 Mon Sep 17 00:00:00 2001 From: Manuel Lauss Date: Mon, 25 Oct 2010 18:44:11 +0200 Subject: [PATCH] --- yaml --- r: 223350 b: refs/heads/master c: cf745a39dcb10ef80c4a2ff38448f57b69d4c4eb h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/mips/alchemy/common/platform.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 51dcea8ee55c..412cd38e2b05 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a3aad4aaf871045ab1dd9c99be6c1ace881d8eb0 +refs/heads/master: cf745a39dcb10ef80c4a2ff38448f57b69d4c4eb diff --git a/trunk/arch/mips/alchemy/common/platform.c b/trunk/arch/mips/alchemy/common/platform.c index 3691630931d6..9e7814db3d03 100644 --- a/trunk/arch/mips/alchemy/common/platform.c +++ b/trunk/arch/mips/alchemy/common/platform.c @@ -27,6 +27,7 @@ static void alchemy_8250_pm(struct uart_port *port, unsigned int state, unsigned int old_state) { +#ifdef CONFIG_SERIAL_8250 switch (state) { case 0: if ((__raw_readl(port->membase + UART_MOD_CNTRL) & 3) != 3) { @@ -49,6 +50,7 @@ static void alchemy_8250_pm(struct uart_port *port, unsigned int state, serial8250_do_pm(port, state, old_state); break; } +#endif } #define PORT(_base, _irq) \