diff mbox series

[2/2] parisc/serial: Rename 8250_gsc.c to 8250_parisc.c

Message ID 20221021062445.28701-2-deller@gmx.de (mailing list archive)
State Accepted, archived
Headers show
Series [1/2] parisc: Make 8250_gsc driver dependend on CONFIG_PARISC | expand

Commit Message

Helge Deller Oct. 21, 2022, 6:24 a.m. UTC
The file name of this driver is misleading - it handles various serial
ports on parisc machines, not just such on the GSC bus.
Rename the file to make this clearer.

Suggested-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Helge Deller <deller@gmx.de>
---
 drivers/tty/serial/8250/{8250_gsc.c => 8250_parisc.c} | 0
 drivers/tty/serial/8250/Kconfig                       | 2 +-
 drivers/tty/serial/8250/Makefile                      | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename drivers/tty/serial/8250/{8250_gsc.c => 8250_parisc.c} (100%)

--
2.37.3
diff mbox series

Patch

diff --git a/drivers/tty/serial/8250/8250_gsc.c b/drivers/tty/serial/8250/8250_parisc.c
similarity index 100%
rename from drivers/tty/serial/8250/8250_gsc.c
rename to drivers/tty/serial/8250/8250_parisc.c
diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig
index 7b3ffb7f50ab..b0f62345bc84 100644
--- a/drivers/tty/serial/8250/Kconfig
+++ b/drivers/tty/serial/8250/Kconfig
@@ -116,7 +116,7 @@  config SERIAL_8250_CONSOLE

 	  If unsure, say N.

-config SERIAL_8250_GSC
+config SERIAL_8250_PARISC
 	tristate
 	depends on SERIAL_8250 && PARISC
 	default SERIAL_8250
diff --git a/drivers/tty/serial/8250/Makefile b/drivers/tty/serial/8250/Makefile
index bee908f99ea0..1615bfdde2a0 100644
--- a/drivers/tty/serial/8250/Makefile
+++ b/drivers/tty/serial/8250/Makefile
@@ -12,7 +12,7 @@  obj-$(CONFIG_SERIAL_8250)		+= 8250.o 8250_base.o
 8250_base-$(CONFIG_SERIAL_8250_DMA)	+= 8250_dma.o
 8250_base-$(CONFIG_SERIAL_8250_DWLIB)	+= 8250_dwlib.o
 8250_base-$(CONFIG_SERIAL_8250_FINTEK)	+= 8250_fintek.o
-obj-$(CONFIG_SERIAL_8250_GSC)		+= 8250_gsc.o
+obj-$(CONFIG_SERIAL_8250_PARISC)	+= 8250_parisc.o
 obj-$(CONFIG_SERIAL_8250_PCI)		+= 8250_pci.o
 obj-$(CONFIG_SERIAL_8250_EXAR)		+= 8250_exar.o
 obj-$(CONFIG_SERIAL_8250_HP300)		+= 8250_hp300.o