]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
serial: 8250_pci: Share WCH IDs with parport_serial driver
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 4 Dec 2024 03:09:22 +0000 (05:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 13:01:25 +0000 (14:01 +0100)
commit1883eaf9b5dd4f1368a374e53c947737e9cecf81
treef20581e9be2582e2a3cb8bafbaf1b737fe9bc1e9
parentc58e0d2d04fac2df975b51c682a465fb9e918931
serial: 8250_pci: Share WCH IDs with parport_serial driver

[ Upstream commit 535a07698b8b3e6f305673102d297262cae2360a ]

parport_serial driver uses subset of WCH IDs that are present in 8250_pci.
Share them via pci_ids.h and switch parport_serial to use defined constants.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20241204031114.1029882-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/parport/parport_serial.c
drivers/tty/serial/8250/8250_pci.c
include/linux/pci_ids.h