]> git.ipfire.org Git - thirdparty/linux.git/commit - drivers/net/ethernet/marvell/mvmdio.c
net: mvmdio: introduce an ops structure
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Thu, 15 Jun 2017 14:43:20 +0000 (16:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Jun 2017 16:27:11 +0000 (12:27 -0400)
commitb0b7fa4f7cd016087f22a4c173318b16c796ff11
tree0025fcd0272129139eb8903c6e050f7a74298018
parent0caf0305a39e62d5cb33cfd1e98aa77a25768232
net: mvmdio: introduce an ops structure

Introduce an ops structure to add an indirection on the is_done
function, as this is needed to add the xMDIO support later.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvmdio.c