]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvmdio: put the poll intervals in the ops structure
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Thu, 15 Jun 2017 14:43:21 +0000 (16:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Jun 2017 16:27:11 +0000 (12:27 -0400)
commit8486eadb4550c23156fd69f74492e781e5d01355
treef84cc54bf18613339cae0f2ae56f4b86f82d4084
parentd84e15ff08f62bf3076fad890e65ca188b3a76e7
net: mvmdio: put the poll intervals in the ops structure

Put the two poll intervals (min and max) in the driver's ops
structure. 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