mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
1e1589ad8b
commit
71327a4e7d
6 changed files with 14 additions and 14 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue