linux/drivers/tty/serial/8250
Arnd Bergmann 7d774fb8ca serial: 8250/ingenic: fix building with SERIAL_8250=m
The Ingenic 8250 driver has a 'bool' Kconfig symbol, but that
breaks when SERIAL_8250 is a loadable module:

drivers/tty/built-in.o: In function `ingenic_uart_probe':
8250_ingenic.c:(.text+0x1c1a0): undefined reference to `serial8250_register_8250_port'

This changes the symbol to a 'tristate', plus a dependency on
SERIAL_8250, which makes it work again. Unlike the other
soc-specific backends, this one has no dependency on an
architecture or a platform. I'm adding a dependency on
MIPS || COMPILE_TEST as well here, to avoid showing the driver
on architectures that are not interested in it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-07 16:11:14 -08:00
..
8250_accent.c tty: serial: 8250: Add generic port init macro 2016-02-06 23:15:53 -08:00
8250_acorn.c tty: serial: 8250: Fix whitespace errors 2016-02-06 23:15:53 -08:00
8250_bcm2835aux.c serial: bcm2835: fix unsigned int issue with irq 2016-02-14 17:39:36 -08:00
8250_boca.c tty: serial: 8250: Add generic port init macro 2016-02-06 23:15:53 -08:00
8250_core.c tty: serial: 8250: Cleanup p->em485 in serial8250_unregister_port 2016-03-07 16:11:14 -08:00
8250_dma.c TTY/Serial driver patches for 4.4-rc1 2015-11-04 21:35:12 -08:00
8250_dw.c serial: 8250_dw: remove leftover definitions 2016-03-07 16:11:14 -08:00
8250_early.c serial: 8250_early: Add earlycon support for Tegra 2016-02-14 17:39:36 -08:00
8250_em.c serial: 8250: remove the redundant include 2015-03-26 22:21:08 +01:00
8250_exar_st16c554.c tty: serial: 8250: Add generic port init macro 2016-02-06 23:15:53 -08:00
8250_fintek.c serial/8250_fintek: Support for any io address. 2015-07-23 15:14:42 -07:00
8250_fourport.c tty: serial: 8250: Add generic port init macro 2016-02-06 23:15:53 -08:00
8250_fsl.c serial: export fsl8250_handle_irq 2015-11-20 16:19:54 -08:00
8250_gsc.c tty: serial: 8250: Suitably replace printk 2016-02-06 23:15:53 -08:00
8250_hp300.c tty: serial: 8250: Suitably replace printk 2016-02-06 23:15:53 -08:00
8250_hub6.c tty: serial: 8250: Fix whitespace errors 2016-02-06 23:15:53 -08:00
8250_ingenic.c serial: 8250/ingenic: fix building with SERIAL_8250=m 2016-03-07 16:11:14 -08:00
8250_lpc18xx.c serial: 8250: add LPC18xx/43xx UART driver 2015-06-01 06:56:33 +09:00
8250_mid.c serial: 8250_mid: add support for DMA engine handling from UART MMIO 2015-10-17 21:22:08 -07:00
8250_mtk.c Revert "drivers/tty/serial: make 8250/8250_mtk.c explicitly non-modular" 2016-03-07 16:11:14 -08:00
8250_of.c serial: 8250: of: Enable suspend/resume for 8250_of driver 2016-02-06 23:13:30 -08:00
8250_omap.c tty: 8250_omap: Use software emulated RS485 direction control 2016-02-06 22:23:26 -08:00
8250_pci.c serial: 8250_pci: all known Braswell ports are 1 channel 2016-03-07 16:11:14 -08:00
8250_pnp.c tty: serial: 8250: Fix indentation warnings 2016-02-06 23:15:53 -08:00
8250_port.c tty: serial: Use GFP_ATOMIC instead of GFP_KERNEL in serial8250_em485_init() 2016-03-07 16:11:14 -08:00
8250_uniphier.c serial: 8250/uniphier: fix modular build 2016-03-07 16:11:14 -08:00
8250.h tty: serial: 8250: Add generic port init macro 2016-02-06 23:15:53 -08:00
Kconfig serial: 8250/ingenic: fix building with SERIAL_8250=m 2016-03-07 16:11:14 -08:00
Makefile serial: bcm2835: add driver for bcm2835-aux-uart 2016-02-06 23:13:30 -08:00
serial_cs.c tty: serial: 8250: Fix multi-line strings 2016-02-06 23:15:53 -08:00