diff options
-rw-r--r-- | drivers/net/team/team.c | 2 | ||||
-rw-r--r-- | drivers/net/team/team_mode_activebackup.c | 4 | ||||
-rw-r--r-- | drivers/net/team/team_mode_loadbalance.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c index e639abecd14f..153a62d03c9f 100644 --- a/drivers/net/team/team.c +++ b/drivers/net/team/team.c | |||
@@ -65,7 +65,7 @@ static int __set_port_mac(struct net_device *port_dev, | |||
65 | return dev_set_mac_address(port_dev, &addr); | 65 | return dev_set_mac_address(port_dev, &addr); |
66 | } | 66 | } |
67 | 67 | ||
68 | int team_port_set_orig_mac(struct team_port *port) | 68 | static int team_port_set_orig_mac(struct team_port *port) |
69 | { | 69 | { |
70 | return __set_port_mac(port->dev, port->orig.dev_addr); | 70 | return __set_port_mac(port->dev, port->orig.dev_addr); |
71 | } | 71 | } |
diff --git a/drivers/net/team/team_mode_activebackup.c b/drivers/net/team/team_mode_activebackup.c index a715c40e08c9..fd6bd03aaa89 100644 --- a/drivers/net/team/team_mode_activebackup.c +++ b/drivers/net/team/team_mode_activebackup.c | |||
@@ -90,12 +90,12 @@ static const struct team_option ab_options[] = { | |||
90 | }, | 90 | }, |
91 | }; | 91 | }; |
92 | 92 | ||
93 | int ab_init(struct team *team) | 93 | static int ab_init(struct team *team) |
94 | { | 94 | { |
95 | return team_options_register(team, ab_options, ARRAY_SIZE(ab_options)); | 95 | return team_options_register(team, ab_options, ARRAY_SIZE(ab_options)); |
96 | } | 96 | } |
97 | 97 | ||
98 | void ab_exit(struct team *team) | 98 | static void ab_exit(struct team *team) |
99 | { | 99 | { |
100 | team_options_unregister(team, ab_options, ARRAY_SIZE(ab_options)); | 100 | team_options_unregister(team, ab_options, ARRAY_SIZE(ab_options)); |
101 | } | 101 | } |
diff --git a/drivers/net/team/team_mode_loadbalance.c b/drivers/net/team/team_mode_loadbalance.c index 167cdb4fe76e..2b506b29a874 100644 --- a/drivers/net/team/team_mode_loadbalance.c +++ b/drivers/net/team/team_mode_loadbalance.c | |||
@@ -130,13 +130,13 @@ static const struct team_option lb_options[] = { | |||
130 | }, | 130 | }, |
131 | }; | 131 | }; |
132 | 132 | ||
133 | int lb_init(struct team *team) | 133 | static int lb_init(struct team *team) |
134 | { | 134 | { |
135 | return team_options_register(team, lb_options, | 135 | return team_options_register(team, lb_options, |
136 | ARRAY_SIZE(lb_options)); | 136 | ARRAY_SIZE(lb_options)); |
137 | } | 137 | } |
138 | 138 | ||
139 | void lb_exit(struct team *team) | 139 | static void lb_exit(struct team *team) |
140 | { | 140 | { |
141 | team_options_unregister(team, lb_options, | 141 | team_options_unregister(team, lb_options, |
142 | ARRAY_SIZE(lb_options)); | 142 | ARRAY_SIZE(lb_options)); |