Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tty: serial: 8250_exar: Does not use anything from 8250_pci

8250_exar includes linux/8250_pci.h and depends on SERIAL_8250_PCI.
Neither is necessary so this patch removes the include and changes
the depends on to SERIAL_8250 && PCI (taken from SERIAL_8250_PCI).

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230915094336.13278-2-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Ilpo Järvinen and committed by
Greg Kroah-Hartman
5939ff7f a136abd7

+1 -2
-1
drivers/tty/serial/8250/8250_exar.c
··· 18 18 #include <linux/slab.h> 19 19 #include <linux/string.h> 20 20 #include <linux/tty.h> 21 - #include <linux/8250_pci.h> 22 21 #include <linux/delay.h> 23 22 24 23 #include <asm/byteorder.h>
+1 -1
drivers/tty/serial/8250/Kconfig
··· 148 148 149 149 config SERIAL_8250_EXAR 150 150 tristate "8250/16550 Exar/Commtech PCI/PCIe device support" 151 - depends on SERIAL_8250_PCI 151 + depends on SERIAL_8250 && PCI 152 152 default SERIAL_8250 153 153 help 154 154 This builds support for XR17C1xx, XR17V3xx and some Commtech