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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
Signed-off-by: Djordje Todorovic <djordje.todorovic@xxxxxxxxxx>
---
 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 --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
-- 
2.25.1





[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux