commit | e39109f59614e5646e6c53100a3e7e8f63dd1d2b | [log] [tgz] |
---|---|---|
author | Vladimir Oltean <vladimir.oltean@nxp.com> | Wed Jun 24 16:54:44 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 25 16:06:56 2020 -0700 |
tree | 732a08e9cf49cc37bd29e011ed2657c30c317df1 | |
parent | 33fdef24c9ac20c68b71b363e423fbf9ad2bfc1e [diff] |
net: dsa: sja1105: move sja1105_compose_gating_subschedule at the top It turns out that sja1105_compose_gating_subschedule must also be called from sja1105_vl_delete, to recalculate the overall tc-gate configuration. Currently this is not possible without introducing a forward declaration. So move the function at the top of the file, along with its dependencies. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>