]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
net: team: rename team to team_core for linking
authorHangbin Liu <liuhangbin@gmail.com>
Mon, 1 Apr 2024 03:10:02 +0000 (11:10 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 3 Apr 2024 01:24:32 +0000 (18:24 -0700)
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 <liuhangbin@gmail.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20240401031004.1159713-3-liuhangbin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/team/Makefile
drivers/net/team/team_core.c [moved from drivers/net/team/team.c with 100% similarity]

index f582d81a5091196f310aa59ca51fac2a5a596cac..244db32c1060e17b3b4693b9b0fb2167061a4054 100644 (file)
@@ -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