MIPS: Loongson: Make platform serial setup always built-in.
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 19 Nov 2014 23:05:38 +0000 (01:05 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:44:06 +0000 (07:44 +0100)
commit26927f76499849e095714452b8a4e09350f6a3b9
treef3456ac2b1c0e0964736e714ad9fe9d985994b69
parent14fa12df1d6bc1d3389a0fa842e0ebd8e8a9af26
MIPS: Loongson: Make platform serial setup always built-in.

If SERIAL_8250 is compiled as a module, the platform specific setup
for Loongson will be a module too, and it will not work very well.
At least on Loongson 3 it will trigger a build failure,
since loongson_sysconf is not exported to modules.

Fix by making the platform specific serial code always built-in.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Reported-by: Ralf Baechle <ralf@linux-mips.org>
Cc: stable@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: Huacai Chen <chenhc@lemote.com>
Cc: Markos Chandras <Markos.Chandras@imgtec.com>
Patchwork: https://patchwork.linux-mips.org/patch/8533/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/loongson/common/Makefile