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)
commit1955796640a6736583b59c581d3ccddfca66cb33
treef84cc54bf18613339cae0f2ae56f4b86f82d4084
parentb0b7fa4f7cd016087f22a4c173318b16c796ff11
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