From b6ec6b8942700e855aa1a42e04ca9e1f89162de0 Mon Sep 17 00:00:00 2001 From: Loic Poulain Date: Tue, 9 Feb 2021 10:05:55 +0100 Subject: [PATCH] net: mhi: Add dedicated folder Create a dedicated mhi directory for mhi-net, mhi-net is going to be split into differente files (for additional protocol support). Signed-off-by: Loic Poulain Signed-off-by: David S. Miller --- drivers/net/Makefile | 2 +- drivers/net/mhi/Makefile | 3 +++ drivers/net/{mhi_net.c => mhi/net.c} | 0 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 drivers/net/mhi/Makefile rename drivers/net/{mhi_net.c => mhi/net.c} (100%) diff --git a/drivers/net/Makefile b/drivers/net/Makefile index 36e2e41ed2aa..f4990ff32fa4 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile @@ -36,7 +36,7 @@ obj-$(CONFIG_GTP) += gtp.o obj-$(CONFIG_NLMON) += nlmon.o obj-$(CONFIG_NET_VRF) += vrf.o obj-$(CONFIG_VSOCKMON) += vsockmon.o -obj-$(CONFIG_MHI_NET) += mhi_net.o +obj-$(CONFIG_MHI_NET) += mhi/ # # Networking Drivers diff --git a/drivers/net/mhi/Makefile b/drivers/net/mhi/Makefile new file mode 100644 index 000000000000..0acf989a5f95 --- /dev/null +++ b/drivers/net/mhi/Makefile @@ -0,0 +1,3 @@ +obj-$(CONFIG_MHI_NET) += mhi_net.o + +mhi_net-y := net.o diff --git a/drivers/net/mhi_net.c b/drivers/net/mhi/net.c similarity index 100% rename from drivers/net/mhi_net.c rename to drivers/net/mhi/net.c