linux/drivers/tty/serial
Dmitry Safonov 6661b21d25 tty/serial: Migrate serial_txx9 to use has_sysrq
The SUPPORT_SYSRQ ifdeffery is not nice as:
- May create misunderstanding about sizeof(struct uart_port) between
  different objects
- Prevents moving functions from serial_core.h
- Reduces readability (well, it's ifdeffery - it's hard to follow)

In order to remove SUPPORT_SYSRQ, has_sysrq variable has been added.
Initialise it in driver's probe and remove ifdeffery.

Signed-off-by: Dmitry Safonov <dima@arista.com>
Link: https://lore.kernel.org/r/20191213000657.931618-41-dima@arista.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-18 15:05:01 +01:00
..
8250 tty/serial: Migrate 8250_port to use has_sysrq 2019-12-18 15:04:43 +01:00
cpm_uart tty/serial: Migrate cpm_uart to use has_sysrq 2019-12-18 15:04:46 +01:00
jsm
21285.c
altera_jtaguart.c
altera_uart.c
amba-pl010.c tty/serial: Migrate amba-pl01* to use has_sysrq 2019-12-18 15:04:44 +01:00
amba-pl011.c tty/serial: Migrate amba-pl01* to use has_sysrq 2019-12-18 15:04:44 +01:00
amba-pl011.h
apbuart.c tty/serial: Migrate apbuart to use has_sysrq 2019-12-18 15:04:44 +01:00
apbuart.h
ar933x_uart.c
arc_uart.c tty/serial: Migrate arc_uart to use has_sysrq 2019-12-18 15:04:45 +01:00
atmel_serial.c tty/serial: Migrate atmel_serial to use has_sysrq 2019-12-18 15:04:46 +01:00
atmel_serial.h
bcm63xx_uart.c tty/serial: Migrate bcm63xx_uart to use has_sysrq 2019-12-18 15:04:43 +01:00
clps711x.c tty/serial: Migrate clps711x to use has_sysrq 2019-12-18 15:04:46 +01:00
digicolor-usart.c
dz.c tty/serial: Migrate dz to use has_sysrq 2019-12-18 15:04:47 +01:00
dz.h
earlycon-arm-semihost.c
earlycon-riscv-sbi.c
earlycon.c
efm32-uart.c tty/serial: Migrate efm32-uart to use has_sysrq 2019-12-18 15:04:47 +01:00
fsl_linflexuart.c tty/serial: Migrate fsl_linflexuart to use has_sysrq 2019-12-18 15:04:48 +01:00
fsl_lpuart.c tty/serial: Migrate fsl_lpuart to use has_sysrq 2019-12-18 15:04:49 +01:00
icom.c
icom.h
ifx6x60.c
ifx6x60.h
imx.c tty/serial: Migrate imx to use has_sysrq 2019-12-18 15:04:49 +01:00
ip22zilog.c tty/serial: Migrate ip22zilog to use has_sysrq 2019-12-18 15:04:50 +01:00
ip22zilog.h
Kconfig tty: serial: samsung: allow driver to be built by anyone 2019-12-12 12:11:00 +01:00
kgdb_nmi.c
kgdboc.c
lantiq.c
lpc32xx_hs.c
Makefile
max310x.c
max3100.c
mcf.c
men_z135_uart.c
meson_uart.c tty/serial: Migrate meson_uart to use has_sysrq 2019-12-18 15:04:50 +01:00
milbeaut_usio.c tty/serial: Migrate milbeaut_usio to use has_sysrq 2019-12-18 15:04:51 +01:00
mpc52xx_uart.c tty/serial: mpc52xx_uart: Don't zero port->sysrq 2019-12-18 15:04:52 +01:00
mps2-uart.c
msm_serial.c tty/serial: Migrate msm_serial to use has_sysrq 2019-12-18 15:04:52 +01:00
mux.c tty/serial: Migrate mux to use has_sysrq 2019-12-18 15:04:53 +01:00
mvebu-uart.c
mxs-auart.c tty/serial: Migrate mxs-auart to use has_sysrq 2019-12-18 15:04:53 +01:00
omap-serial.c tty/serial: Migrate omap-serial to use has_sysrq 2019-12-18 15:04:54 +01:00
owl-uart.c
pch_uart.c tty/serial: pmac_zilog: Don't check port->sysrq 2019-12-18 15:04:56 +01:00
pic32_uart.c
pic32_uart.h
pmac_zilog.c tty/serial: Migrate pmac_zilog to use has_sysrq 2019-12-18 15:04:56 +01:00
pmac_zilog.h
pnx8xxx_uart.c tty/serial: Migrate pnx8xxx_uart to use has_sysrq 2019-12-18 15:04:57 +01:00
pxa.c tty/serial: Migrate pxa to use has_sysrq 2019-12-18 15:04:57 +01:00
qcom_geni_serial.c tty/serial: Migrate qcom_geni_serial to use has_sysrq 2019-12-18 15:04:58 +01:00
rda-uart.c
rp2.c
sa1100.c tty/serial: Migrate sa1100 to use has_sysrq 2019-12-18 15:04:59 +01:00
samsung_tty.c tty: serial: samsung_tty: do not abuse the struct uart_port unused fields 2019-12-17 15:09:47 +01:00
sb1250-duart.c tty/serial: Migrate sb1250-duart to use has_sysrq 2019-12-18 15:05:00 +01:00
sc16is7xx.c
sccnxp.c tty/serial: Migrate sccnxp to use has_sysrq 2019-12-18 15:05:00 +01:00
serial-tegra.c
serial_core.c
serial_mctrl_gpio.c
serial_mctrl_gpio.h
serial_txx9.c tty/serial: Migrate serial_txx9 to use has_sysrq 2019-12-18 15:05:01 +01:00
sh-sci.c Merge 5.4-rc5 into driver-core-next 2019-10-27 18:54:13 +01:00
sh-sci.h
sifive.c
sirfsoc_uart.c
sirfsoc_uart.h
sprd_serial.c
st-asc.c
stm32-usart.c
stm32-usart.h
suncore.c
sunhv.c
sunsab.c
sunsab.h
sunsu.c
sunzilog.c
sunzilog.h
tegra-tcu.c
timbuart.c
timbuart.h
uartlite.c
ucc_uart.c
vr41xx_siu.c
vt8500_serial.c
xilinx_uartps.c
zs.c
zs.h