linux/drivers/tty/serial/8250
Arnd Bergmann 7798edeebc tty: serial/8250: remove console dependency for mediatek
If the mediatek serial port driver is built-in, but serial
console is disabled in Kconfig (e.g. when the serial driver
itself is a loadable module), we get this build error:

drivers/built-in.o: In function `early_mtk8250_setup':
undefined reference to `early_serial8250_setup'

To avoid that problem, this patch encloses the early_mtk8250_setup
function in #ifdef CONFIG_SERIAL_8250_CONSOLE, the same symbol
that guards the early_serial8250_setup function.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Eddie Huang <eddie.huang@mediatek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-05-24 13:06:09 -07:00
..
8250_accent.c
8250_acorn.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
8250_boca.c
8250_core.c serial: 8250: do not copy port.fifosize member twice 2015-05-10 19:10:08 +02:00
8250_dma.c serial: 8250_dma: don't bother DMA with small transfers 2015-02-02 10:11:26 -08:00
8250_dw.c serial: 8250_dw: only get the clock rate in one place 2015-03-26 23:04:42 +01:00
8250_early.c tty: serial: 8250: export early_serial8250_setup function 2015-05-10 19:00:05 +02:00
8250_em.c serial: 8250: remove the redundant include 2015-03-26 22:21:08 +01:00
8250_exar_st16c554.c
8250_fintek.c PNP: tty/serial/8250/8250_fintek: Use module_pnp_driver to register driver 2015-03-18 22:39:18 +01:00
8250_fourport.c
8250_fsl.c serial: 8250: introduce up_to_u8250p() helper 2014-07-17 18:16:23 -07:00
8250_gsc.c parisc: Fix interrupt routing for C8000 serial ports 2013-07-31 23:42:32 +02:00
8250_hp300.c serial: 8250: remove the redundant include 2015-03-26 22:21:08 +01:00
8250_hub6.c
8250_mtk.c tty: serial/8250: remove console dependency for mediatek 2015-05-24 13:06:09 -07:00
8250_omap.c serial: 8250_omap: provide complete custom startup & shutdown callbacks 2015-05-24 12:54:55 -07:00
8250_pci.c serial: 8250_pci: Add support for 16 port Exar boards 2015-04-28 20:22:31 +02:00
8250_pnp.c serial: 8250_pnp: Enable PNP_CONSOLE for console ports 2015-02-02 10:11:25 -08:00
8250.h serial: 8250: Decouple RSA probe 2015-03-26 18:18:20 +01:00
Kconfig serial: 8250_pci: replace switch-case by formula 2015-03-26 23:00:36 +01:00
Makefile tty: serial: Add 8250-core based omap driver 2014-11-05 19:05:13 -08:00
serial_cs.c tty: delete non-required instances of include <linux/init.h> 2014-01-07 17:05:21 -08:00