parisc: Make 8250_gsc driver dependend on CONFIG_PARISC
authorHelge Deller <deller@gmx.de>
Fri, 21 Oct 2022 05:44:49 +0000 (07:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2022 14:47:23 +0000 (15:47 +0100)
commit e8a18e3f00f3ee8d07c17ab1ea3ad4df4a3b6fe0 upstream.

Although the name of the driver 8250_gsc.c suggests that it handles
only serial ports on the GSC bus, it does handle serial ports listed
in the parisc machine inventory as well, e.g. the serial ports in a
C8000 PCI-only workstation.

Change the dependency to CONFIG_PARISC, so that the driver gets included
in the kernel even if CONFIG_GSC isn't set.

Reported-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/Kconfig

index a5c0ef1e7695fedc6e185e09454d9a5a55f358cb..4d88cade46b02a05c6ee3192532eb5d0d2478189 100644 (file)
@@ -105,7 +105,7 @@ config SERIAL_8250_CONSOLE
 
 config SERIAL_8250_GSC
        tristate
-       depends on SERIAL_8250 && GSC
+       depends on SERIAL_8250 && PARISC
        default SERIAL_8250
 
 config SERIAL_8250_DMA