Commit a7096915 authored by Vladimir Oltean's avatar Vladimir Oltean Committed by Jakub Kicinski

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: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 2a6ef763
...@@ -751,43 +751,43 @@ static int felix_port_setup_tc(struct dsa_switch *ds, int port, ...@@ -751,43 +751,43 @@ static int felix_port_setup_tc(struct dsa_switch *ds, int port,
} }
const struct dsa_switch_ops felix_switch_ops = { const struct dsa_switch_ops felix_switch_ops = {
.get_tag_protocol = felix_get_tag_protocol, .get_tag_protocol = felix_get_tag_protocol,
.setup = felix_setup, .setup = felix_setup,
.teardown = felix_teardown, .teardown = felix_teardown,
.set_ageing_time = felix_set_ageing_time, .set_ageing_time = felix_set_ageing_time,
.get_strings = felix_get_strings, .get_strings = felix_get_strings,
.get_ethtool_stats = felix_get_ethtool_stats, .get_ethtool_stats = felix_get_ethtool_stats,
.get_sset_count = felix_get_sset_count, .get_sset_count = felix_get_sset_count,
.get_ts_info = felix_get_ts_info, .get_ts_info = felix_get_ts_info,
.phylink_validate = felix_phylink_validate, .phylink_validate = felix_phylink_validate,
.phylink_mac_config = felix_phylink_mac_config, .phylink_mac_config = felix_phylink_mac_config,
.phylink_mac_link_down = felix_phylink_mac_link_down, .phylink_mac_link_down = felix_phylink_mac_link_down,
.phylink_mac_link_up = felix_phylink_mac_link_up, .phylink_mac_link_up = felix_phylink_mac_link_up,
.port_enable = felix_port_enable, .port_enable = felix_port_enable,
.port_disable = felix_port_disable, .port_disable = felix_port_disable,
.port_fdb_dump = felix_fdb_dump, .port_fdb_dump = felix_fdb_dump,
.port_fdb_add = felix_fdb_add, .port_fdb_add = felix_fdb_add,
.port_fdb_del = felix_fdb_del, .port_fdb_del = felix_fdb_del,
.port_mdb_add = felix_mdb_add, .port_mdb_add = felix_mdb_add,
.port_mdb_del = felix_mdb_del, .port_mdb_del = felix_mdb_del,
.port_bridge_join = felix_bridge_join, .port_bridge_join = felix_bridge_join,
.port_bridge_leave = felix_bridge_leave, .port_bridge_leave = felix_bridge_leave,
.port_stp_state_set = felix_bridge_stp_state_set, .port_stp_state_set = felix_bridge_stp_state_set,
.port_vlan_filtering = felix_vlan_filtering, .port_vlan_filtering = felix_vlan_filtering,
.port_vlan_add = felix_vlan_add, .port_vlan_add = felix_vlan_add,
.port_vlan_del = felix_vlan_del, .port_vlan_del = felix_vlan_del,
.port_hwtstamp_get = felix_hwtstamp_get, .port_hwtstamp_get = felix_hwtstamp_get,
.port_hwtstamp_set = felix_hwtstamp_set, .port_hwtstamp_set = felix_hwtstamp_set,
.port_rxtstamp = felix_rxtstamp, .port_rxtstamp = felix_rxtstamp,
.port_txtstamp = felix_txtstamp, .port_txtstamp = felix_txtstamp,
.port_change_mtu = felix_change_mtu, .port_change_mtu = felix_change_mtu,
.port_max_mtu = felix_get_max_mtu, .port_max_mtu = felix_get_max_mtu,
.port_policer_add = felix_port_policer_add, .port_policer_add = felix_port_policer_add,
.port_policer_del = felix_port_policer_del, .port_policer_del = felix_port_policer_del,
.cls_flower_add = felix_cls_flower_add, .cls_flower_add = felix_cls_flower_add,
.cls_flower_del = felix_cls_flower_del, .cls_flower_del = felix_cls_flower_del,
.cls_flower_stats = felix_cls_flower_stats, .cls_flower_stats = felix_cls_flower_stats,
.port_setup_tc = felix_port_setup_tc, .port_setup_tc = felix_port_setup_tc,
}; };
struct net_device *felix_port_to_netdev(struct ocelot *ocelot, int port) struct net_device *felix_port_to_netdev(struct ocelot *ocelot, int port)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment