linux_dsm_epyc7002/drivers/tty/serial/8250
Vignesh Raghavendra 26ccdfd117 serial: 8250: 8250_omap: Fix unused variable warning
commit 6f991850412963381017cfb0d691cbd4d6a551dc upstream.

With commit 439c7183e5b9 ("serial: 8250: 8250_omap: Disable RX interrupt after DMA enable"),
below warning is seen with W=1 and CONFIG_SERIAL_8250_DMA is disabled:

   drivers/tty/serial/8250/8250_omap.c:1199:42: warning: unused variable 'k3_soc_devices' [-Wunused-const-variable]

Fix this by moving the code using k3_soc_devices array to
omap_serial_fill_features_erratas() that handles other errata flags as
well.

Fixes: 439c7183e5b9 ("serial: 8250: 8250_omap: Disable RX interrupt after DMA enable")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20201111112653.2710-2-vigneshr@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-05 19:06:11 +02:00
..
8250_accent.c
8250_acorn.c
8250_aspeed_vuart.c
8250_bcm2835aux.c
8250_boca.c
8250_core.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
8250_dma.c
8250_dw.c
8250_dwlib.c
8250_dwlib.h
8250_early.c
8250_em.c
8250_exar_st16c554.c
8250_exar.c
8250_fintek.c
8250_fourport.c
8250_fsl.c
8250_gsc.c
8250_hp300.c
8250_hub6.c
8250_ingenic.c
8250_ioc3.c
8250_lpc18xx.c
8250_lpss.c
8250_men_mcb.c
8250_mid.c
8250_mtk.c serial: 8250_mtk: fix uart corruption issue when rx power off 2024-07-05 18:52:29 +02:00
8250_of.c
8250_omap.c serial: 8250: 8250_omap: Fix unused variable warning 2024-07-05 19:06:11 +02:00
8250_pci.c serial: 8250_pci: Avoid irq sharing for MSI(-X) interrupts. 2024-07-05 18:52:30 +02:00
8250_pnp.c
8250_port.c serial: 8250: Mask out floating 16/32-bit bus bits 2024-07-05 18:52:29 +02:00
8250_pxa.c
8250_tegra.c
8250_uniphier.c
8250.h
Kconfig
Makefile init: add dsm gpl source 2024-07-05 18:00:04 +02:00
serial_cs.c tty: serial: 8250: serial_cs: Fix a memory leak in error handling path 2021-07-20 16:05:40 +02:00