Re: [PATCH] MIPS: rb532: Fix undefined reference to setup_serial_port

2016-09-13 Thread Ralf Baechle
On Mon, Sep 05, 2016 at 05:18:40PM +0100, Matt Redfearn wrote: > If the rb532 machine is compiled without CONFIG_SERIAL_8250, the > following linker error occurs > > arch/mips/built-in.o: In function `setup_serial_port': > (.init.text+0x20c): undefined reference to `early_serial_setup' > > Fix t

[PATCH] MIPS: rb532: Fix undefined reference to setup_serial_port

2016-09-05 Thread Matt Redfearn
If the rb532 machine is compiled without CONFIG_SERIAL_8250, the following linker error occurs arch/mips/built-in.o: In function `setup_serial_port': (.init.text+0x20c): undefined reference to `early_serial_setup' Fix this by wrapping registration of the rb532 uart in an ifdef CONFIG_SERIAL_8250.