Skip to content
  • Florian Fainelli's avatar
    MIPS: AR7: Fix build failures when CONFIG_SERIAL_8250 is not enabled · 50ca9619
    Florian Fainelli authored
    
    
    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: default avatarFlorian Fainelli <florian@openwrt.org>
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    50ca9619