mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-15 18:34:47 +08:00
net: dsa: felix: reindent struct dsa_switch_ops
The devlink function pointer names are super long, and they would break the alignment. So reindent the existing ops now by adding one tab. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
2a6ef76303
commit
a7096915e4
@ -751,43 +751,43 @@ static int felix_port_setup_tc(struct dsa_switch *ds, int port,
|
||||
}
|
||||
|
||||
const struct dsa_switch_ops felix_switch_ops = {
|
||||
.get_tag_protocol = felix_get_tag_protocol,
|
||||
.setup = felix_setup,
|
||||
.teardown = felix_teardown,
|
||||
.set_ageing_time = felix_set_ageing_time,
|
||||
.get_strings = felix_get_strings,
|
||||
.get_ethtool_stats = felix_get_ethtool_stats,
|
||||
.get_sset_count = felix_get_sset_count,
|
||||
.get_ts_info = felix_get_ts_info,
|
||||
.phylink_validate = felix_phylink_validate,
|
||||
.phylink_mac_config = felix_phylink_mac_config,
|
||||
.phylink_mac_link_down = felix_phylink_mac_link_down,
|
||||
.phylink_mac_link_up = felix_phylink_mac_link_up,
|
||||
.port_enable = felix_port_enable,
|
||||
.port_disable = felix_port_disable,
|
||||
.port_fdb_dump = felix_fdb_dump,
|
||||
.port_fdb_add = felix_fdb_add,
|
||||
.port_fdb_del = felix_fdb_del,
|
||||
.port_mdb_add = felix_mdb_add,
|
||||
.port_mdb_del = felix_mdb_del,
|
||||
.port_bridge_join = felix_bridge_join,
|
||||
.port_bridge_leave = felix_bridge_leave,
|
||||
.port_stp_state_set = felix_bridge_stp_state_set,
|
||||
.port_vlan_filtering = felix_vlan_filtering,
|
||||
.port_vlan_add = felix_vlan_add,
|
||||
.port_vlan_del = felix_vlan_del,
|
||||
.port_hwtstamp_get = felix_hwtstamp_get,
|
||||
.port_hwtstamp_set = felix_hwtstamp_set,
|
||||
.port_rxtstamp = felix_rxtstamp,
|
||||
.port_txtstamp = felix_txtstamp,
|
||||
.port_change_mtu = felix_change_mtu,
|
||||
.port_max_mtu = felix_get_max_mtu,
|
||||
.port_policer_add = felix_port_policer_add,
|
||||
.port_policer_del = felix_port_policer_del,
|
||||
.cls_flower_add = felix_cls_flower_add,
|
||||
.cls_flower_del = felix_cls_flower_del,
|
||||
.cls_flower_stats = felix_cls_flower_stats,
|
||||
.port_setup_tc = felix_port_setup_tc,
|
||||
.get_tag_protocol = felix_get_tag_protocol,
|
||||
.setup = felix_setup,
|
||||
.teardown = felix_teardown,
|
||||
.set_ageing_time = felix_set_ageing_time,
|
||||
.get_strings = felix_get_strings,
|
||||
.get_ethtool_stats = felix_get_ethtool_stats,
|
||||
.get_sset_count = felix_get_sset_count,
|
||||
.get_ts_info = felix_get_ts_info,
|
||||
.phylink_validate = felix_phylink_validate,
|
||||
.phylink_mac_config = felix_phylink_mac_config,
|
||||
.phylink_mac_link_down = felix_phylink_mac_link_down,
|
||||
.phylink_mac_link_up = felix_phylink_mac_link_up,
|
||||
.port_enable = felix_port_enable,
|
||||
.port_disable = felix_port_disable,
|
||||
.port_fdb_dump = felix_fdb_dump,
|
||||
.port_fdb_add = felix_fdb_add,
|
||||
.port_fdb_del = felix_fdb_del,
|
||||
.port_mdb_add = felix_mdb_add,
|
||||
.port_mdb_del = felix_mdb_del,
|
||||
.port_bridge_join = felix_bridge_join,
|
||||
.port_bridge_leave = felix_bridge_leave,
|
||||
.port_stp_state_set = felix_bridge_stp_state_set,
|
||||
.port_vlan_filtering = felix_vlan_filtering,
|
||||
.port_vlan_add = felix_vlan_add,
|
||||
.port_vlan_del = felix_vlan_del,
|
||||
.port_hwtstamp_get = felix_hwtstamp_get,
|
||||
.port_hwtstamp_set = felix_hwtstamp_set,
|
||||
.port_rxtstamp = felix_rxtstamp,
|
||||
.port_txtstamp = felix_txtstamp,
|
||||
.port_change_mtu = felix_change_mtu,
|
||||
.port_max_mtu = felix_get_max_mtu,
|
||||
.port_policer_add = felix_port_policer_add,
|
||||
.port_policer_del = felix_port_policer_del,
|
||||
.cls_flower_add = felix_cls_flower_add,
|
||||
.cls_flower_del = felix_cls_flower_del,
|
||||
.cls_flower_stats = felix_cls_flower_stats,
|
||||
.port_setup_tc = felix_port_setup_tc,
|
||||
};
|
||||
|
||||
struct net_device *felix_port_to_netdev(struct ocelot *ocelot, int port)
|
||||
|
Loading…
Reference in New Issue
Block a user