summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@linaro.org>2021-02-09 10:05:55 +0100
committerDavid S. Miller <davem@davemloft.net>2021-02-10 15:11:51 -0800
commitb6ec6b8942700e855aa1a42e04ca9e1f89162de0 (patch)
tree760f84649ac8f0015a694a80ef601af3e66a1ba3
parentddeb9bfa59c711ccbddec1c9fb9ec190caab1a4c (diff)
downloadlinux-b6ec6b8942700e855aa1a42e04ca9e1f89162de0.tar.bz2
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 <loic.poulain@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/Makefile2
-rw-r--r--drivers/net/mhi/Makefile3
-rw-r--r--drivers/net/mhi/net.c (renamed from drivers/net/mhi_net.c)0
3 files changed, 4 insertions, 1 deletions
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
index b92c2e1f107e..b92c2e1f107e 100644
--- a/drivers/net/mhi_net.c
+++ b/drivers/net/mhi/net.c