team: add missed "statics"
authorJiri Pirko <jpirko@redhat.com>
Tue, 10 Apr 2012 05:15:46 +0000 (05:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Apr 2012 14:03:52 +0000 (10:03 -0400)
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c
drivers/net/team/team_mode_activebackup.c
drivers/net/team/team_mode_loadbalance.c

index e639abecd14f03e0d315d2b6135429e77b531688..153a62d03c9f9c4b2b3be4af17a5d98474d9de01 100644 (file)
@@ -65,7 +65,7 @@ static int __set_port_mac(struct net_device *port_dev,
        return dev_set_mac_address(port_dev, &addr);
 }
 
-int team_port_set_orig_mac(struct team_port *port)
+static int team_port_set_orig_mac(struct team_port *port)
 {
        return __set_port_mac(port->dev, port->orig.dev_addr);
 }
index a715c40e08c926bb7f7bbf30556b127952ac4408..fd6bd03aaa897b711ef89eda77db98b8395573ac 100644 (file)
@@ -90,12 +90,12 @@ static const struct team_option ab_options[] = {
        },
 };
 
-int ab_init(struct team *team)
+static int ab_init(struct team *team)
 {
        return team_options_register(team, ab_options, ARRAY_SIZE(ab_options));
 }
 
-void ab_exit(struct team *team)
+static void ab_exit(struct team *team)
 {
        team_options_unregister(team, ab_options, ARRAY_SIZE(ab_options));
 }
index 167cdb4fe76e36aeee930e98e3d571be549d6308..2b506b29a874b22763f397b2b2c3875fa7e08e0e 100644 (file)
@@ -130,13 +130,13 @@ static const struct team_option lb_options[] = {
        },
 };
 
-int lb_init(struct team *team)
+static int lb_init(struct team *team)
 {
        return team_options_register(team, lb_options,
                                     ARRAY_SIZE(lb_options));
 }
 
-void lb_exit(struct team *team)
+static void lb_exit(struct team *team)
 {
        team_options_unregister(team, lb_options,
                                ARRAY_SIZE(lb_options));