MIPS: AR7: Fix build failures when CONFIG_SERIAL_8250 is not enabled
authorFlorian Fainelli <florian@openwrt.org>
Fri, 24 Jul 2009 11:24:15 +0000 (13:24 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 3 Aug 2009 16:52:45 +0000 (17:52 +0100)
commit50ca961912be315035cb0f3508e35c974851da2a
tree148fcdf1771dcfc6b1587b45f04a617c00a64468
parentea85a0e4cc870d2bb92e3b2007007901209bb7de
MIPS: AR7: Fix build failures when CONFIG_SERIAL_8250 is not enabled

This patch fixes the following build failure when CONFIG_SERIAL_8250
is not enabled in the kernel configuration:
arch/mips/ar7/built-in.o: In function 'ar7_register_devices':
platform.c:(.init.text+0x61c): undefined reference to 'early_serial_setup'
platform.c:(.init.text+0x61c): relocation truncated to fit: R_MIPS_26 against 'early_serial_setup'
platform.c:(.init.text+0x68c): undefined reference to 'early_serial_setup'
platform.c:(.init.text+0x68c): relocation truncated to fit: R_MIPS_26 against 'early_serial_setup'

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ar7/platform.c