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>
This commit is contained in:
Vivien Didelot 2016-03-13 16:21:32 -04:00 committed by David S. Miller
parent 1e1589ad8b
commit 71327a4e7d
6 changed files with 14 additions and 14 deletions

View file

@ -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);