]> git.baikalelectronics.ru Git - kernel.git/commit
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 16:57:56 +0000 (17:57 +0100)
commit80f5f23ad57cbb54da9738c84c01abd48bd4a7ad
tree82c37d81ed9a8b633b899e03b662308822d14c61
parent04abe4591088939bcb687f720f56a74200aacb78
parisc: Make 8250_gsc driver dependend on CONFIG_PARISC

commit 87a95344cf79daa923e0ee7b238993c8504434cd 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