diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2016-03-13 20:21:32 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-14 20:05:31 (GMT) |
commit | 71327a4e7d997276d49db92fd3d30008389ee6d5 (patch) | |
tree | a54f0a8eeae79991661f60f3b1476a9af41c72be /include/net/dsa.h | |
parent | 1e1589ad8b5cb5b8a6781ba5850cf710ada0e919 (diff) | |
download | linux-71327a4e7d997276d49db92fd3d30008389ee6d5.tar.xz |
net: dsa: rename port_*_bridge routines
Rename DSA port_join_bridge and port_leave_bridge routines to
respectively port_bridge_join and port_bridge_leave in order to respect
an implicit Port::Bridge namespace.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dsa.h')
-rw-r--r-- | include/net/dsa.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h index 26c0a3f..004e034 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h @@ -296,9 +296,9 @@ struct dsa_switch_driver { /* * Bridge integration */ - int (*port_join_bridge)(struct dsa_switch *ds, int port, + int (*port_bridge_join)(struct dsa_switch *ds, int port, struct net_device *bridge); - int (*port_leave_bridge)(struct dsa_switch *ds, int port); + int (*port_bridge_leave)(struct dsa_switch *ds, int port); int (*port_stp_update)(struct dsa_switch *ds, int port, u8 state); |