diff options
author | Daniel Golle <daniel@makrotopia.org> | 2023-04-03 02:18:16 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-04-03 10:13:00 +0100 |
commit | 1557c679f71c82a994eae0baadbaeb62b71e15bf (patch) | |
tree | 7d2ce47e1a9c9ec9bc2958d622c97f829c188564 /drivers/net/dsa/mt7530.h | |
parent | 6de2852297737171ba96b91e89bf302ca1fda869 (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