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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a136abd7e7
commit
5939ff7ffa
@ -18,7 +18,6 @@
|
|||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
#include <linux/string.h>
|
#include <linux/string.h>
|
||||||
#include <linux/tty.h>
|
#include <linux/tty.h>
|
||||||
#include <linux/8250_pci.h>
|
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
|
|
||||||
#include <asm/byteorder.h>
|
#include <asm/byteorder.h>
|
||||||
|
@ -148,7 +148,7 @@ config SERIAL_8250_PCI
|
|||||||
|
|
||||||
config SERIAL_8250_EXAR
|
config SERIAL_8250_EXAR
|
||||||
tristate "8250/16550 Exar/Commtech PCI/PCIe device support"
|
tristate "8250/16550 Exar/Commtech PCI/PCIe device support"
|
||||||
depends on SERIAL_8250_PCI
|
depends on SERIAL_8250 && PCI
|
||||||
default SERIAL_8250
|
default SERIAL_8250
|
||||||
help
|
help
|
||||||
This builds support for XR17C1xx, XR17V3xx and some Commtech
|
This builds support for XR17C1xx, XR17V3xx and some Commtech
|
||||||
|
Reference in New Issue
Block a user