diff mbox series

[v4,13/14] mips: Move FDC driver to a separate directory

Message ID 20240511104341.151550-14-aleksandar.rikalo@syrmia.com (mailing list archive)
State New
Headers show
Series MIPS: Support I6500 multi-cluster configuration | expand

Commit Message

Aleksandar Rikalo May 11, 2024, 10:43 a.m. UTC
This is in preparation for the further changes that will address
FDC multicluster driver support, as well as FDC support for other
architectures.

No functional impact.

Signed-off-by: Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>
Signed-off-by: Djordje Todorovic <djordje.todorovic@syrmia.com>
---
 drivers/tty/Makefile                                   | 2 +-
 drivers/tty/mips_fdc/Makefile                          | 2 ++
 drivers/tty/{mips_ejtag_fdc.c => mips_fdc/ejtag-fdc.c} | 0
 3 files changed, 3 insertions(+), 1 deletion(-)
 create mode 100644 drivers/tty/mips_fdc/Makefile
 rename drivers/tty/{mips_ejtag_fdc.c => mips_fdc/ejtag-fdc.c} (100%)
diff mbox series

Patch

diff --git a/drivers/tty/Makefile b/drivers/tty/Makefile
index 07aca5184a55..8846080d91b8 100644
--- a/drivers/tty/Makefile
+++ b/drivers/tty/Makefile
@@ -24,7 +24,7 @@  obj-$(CONFIG_NULL_TTY)	        += ttynull.o
 obj-$(CONFIG_SYNCLINK_GT)	+= synclink_gt.o
 obj-$(CONFIG_PPC_EPAPR_HV_BYTECHAN) += ehv_bytechan.o
 obj-$(CONFIG_GOLDFISH_TTY)	+= goldfish.o
-obj-$(CONFIG_MIPS_EJTAG_FDC_TTY) += mips_ejtag_fdc.o
+obj-$(CONFIG_MIPS_EJTAG_FDC_TTY) += mips_fdc/
 obj-$(CONFIG_VCC)		+= vcc.o
 obj-$(CONFIG_RPMSG_TTY)		+= rpmsg_tty.o
 
diff --git a/drivers/tty/mips_fdc/Makefile b/drivers/tty/mips_fdc/Makefile
new file mode 100644
index 000000000000..03b2781e1090
--- /dev/null
+++ b/drivers/tty/mips_fdc/Makefile
@@ -0,0 +1,2 @@ 
+# SPDX-License-Identifier: GPL-2.0
+obj-$(CONFIG_MIPS_EJTAG_FDC_TTY) += ejtag-fdc.o
diff --git a/drivers/tty/mips_ejtag_fdc.c b/drivers/tty/mips_fdc/ejtag-fdc.c
similarity index 100%
rename from drivers/tty/mips_ejtag_fdc.c
rename to drivers/tty/mips_fdc/ejtag-fdc.c