MIPS: Alchemy: fix build with SERIAL_8250=n
authorManuel Lauss <manuel.lauss@googlemail.com>
Mon, 25 Oct 2010 16:44:11 +0000 (18:44 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 16 Dec 2010 18:11:01 +0000 (18:11 +0000)
commitcf745a39dcb10ef80c4a2ff38448f57b69d4c4eb
tree34ef17bc6ffa257551692d38b878dde2969fc33c
parenta3aad4aaf871045ab1dd9c99be6c1ace881d8eb0
MIPS: Alchemy: fix build with SERIAL_8250=n

In commit 7d172bfe ("Alchemy: Add UART PM methods") I introduced
platform PM methods which call a function of the 8250 driver;
this patch works around link failures when the kernel is built
without 8250 support.

Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
To: Linux-MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/1737/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/alchemy/common/platform.c