summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/mt7530.h
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2023-04-03 02:18:16 +0100
committerDavid S. Miller <davem@davemloft.net>2023-04-03 10:13:00 +0100
commit1557c679f71c82a994eae0baadbaeb62b71e15bf (patch)
tree7d2ce47e1a9c9ec9bc2958d622c97f829c188564 /drivers/net/dsa/mt7530.h
parent6de2852297737171ba96b91e89bf302ca1fda869 (diff)
net: dsa: mt7530: introduce mutex helpers
As the MDIO bus lock only needs to be involved if actually operating on an MDIO-connected switch we will need to skip locking for built-in switches which are accessed via MMIO. Create helper functions which simplify that upcoming change. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mt7530.h')
0 files changed, 0 insertions, 0 deletions