diff options
| author | Christian Marangi <[email protected]> | 2023-04-17 17:17:23 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-04-19 12:59:15 +0100 |
| commit | 3e8b4d6277fd19d98c817576954dd6a4ff3caa2b (patch) | |
| tree | 5f0dd62f573f0eb524e1cd6592ecae0fa2d9e9d4 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 158441884772a19e840429e210bfd1879094306b (diff) | |
net: dsa: qca8k: move qca8k_port_to_phy() to header
Move qca8k_port_to_phy() to qca8k header as it's useful for future
reference in Switch LEDs module since the same logic is applied to get
the right index of the switch port.
Make it inline as it's simple function that just decrease the port.
Signed-off-by: Christian Marangi <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Michal Kubiak <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions