summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2022-10-21 08:44:49 +0300
committerHelge Deller <deller@gmx.de>2022-10-21 09:10:45 +0300
commite8a18e3f00f3ee8d07c17ab1ea3ad4df4a3b6fe0 (patch)
tree2fd3c3f4ca26b10908ed0843955308de0b239a53 /drivers/tty
parent9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff)
downloadlinux-e8a18e3f00f3ee8d07c17ab1ea3ad4df4a3b6fe0.tar.xz
parisc: Make 8250_gsc driver dependend on CONFIG_PARISC
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>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/8250/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig
index d0b49e15fbf5..7b3ffb7f50ab 100644
--- a/drivers/tty/serial/8250/Kconfig
+++ b/drivers/tty/serial/8250/Kconfig
@@ -118,7 +118,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