From: Hangbin Liu Date: Mon, 1 Apr 2024 03:10:02 +0000 (+0800) Subject: net: team: rename team to team_core for linking X-Git-Tag: v6.10-rc1~153^2~379^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a0393e3e3ddbb177b25f0a978c72f5efe942fe7d;p=thirdparty%2Fkernel%2Flinux.git net: team: rename team to team_core for linking Similar with commit 08d323234d10 ("net: fou: rename the source for linking"), We'll need to link two objects together to form the team module. This means the source can't be called team, the build system expects team.o to be the combined object. Signed-off-by: Hangbin Liu Reviewed-by: Jiri Pirko Link: https://lore.kernel.org/r/20240401031004.1159713-3-liuhangbin@gmail.com Signed-off-by: Jakub Kicinski --- diff --git a/drivers/net/team/Makefile b/drivers/net/team/Makefile index f582d81a50911..244db32c1060e 100644 --- a/drivers/net/team/Makefile +++ b/drivers/net/team/Makefile @@ -3,6 +3,7 @@ # Makefile for the network team driver # +team-y:= team_core.o obj-$(CONFIG_NET_TEAM) += team.o obj-$(CONFIG_NET_TEAM_MODE_BROADCAST) += team_mode_broadcast.o obj-$(CONFIG_NET_TEAM_MODE_ROUNDROBIN) += team_mode_roundrobin.o diff --git a/drivers/net/team/team.c b/drivers/net/team/team_core.c similarity index 100% rename from drivers/net/team/team.c rename to drivers/net/team/team_core.c