Re: [PATCH] serial: 8250_pxa: hide early console setup when disabled

2016-11-09 Thread Robert Jarzmik
Arnd Bergmann writes: > The newly added pxa glue driver for 8250 supports console output, but > fails to build if the 8250 console is disabled: > > drivers/tty/serial/8250/8250_pxa.o: In function `early_serial_pxa_setup': > 8250_pxa.c:(.init.text+0x50): undefined reference to `early_serial8250_se

[PATCH] serial: 8250_pxa: hide early console setup when disabled

2016-11-09 Thread Arnd Bergmann
The newly added pxa glue driver for 8250 supports console output, but fails to build if the 8250 console is disabled: drivers/tty/serial/8250/8250_pxa.o: In function `early_serial_pxa_setup': 8250_pxa.c:(.init.text+0x50): undefined reference to `early_serial8250_setup' This adds an #ifdef like th