diff options
Diffstat (limited to 'drivers/net/chelsio')
-rw-r--r-- | drivers/net/chelsio/subr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/chelsio/subr.c b/drivers/net/chelsio/subr.c index 599d178df62d..63ebf76d2390 100644 --- a/drivers/net/chelsio/subr.c +++ b/drivers/net/chelsio/subr.c | |||
@@ -314,14 +314,12 @@ static int mi1_mdio_write(struct net_device *dev, int phy_addr, int mmd_addr, | |||
314 | return 0; | 314 | return 0; |
315 | } | 315 | } |
316 | 316 | ||
317 | #if defined(CONFIG_CHELSIO_T1_1G) | ||
318 | static const struct mdio_ops mi1_mdio_ops = { | 317 | static const struct mdio_ops mi1_mdio_ops = { |
319 | .init = mi1_mdio_init, | 318 | .init = mi1_mdio_init, |
320 | .read = mi1_mdio_read, | 319 | .read = mi1_mdio_read, |
321 | .write = mi1_mdio_write, | 320 | .write = mi1_mdio_write, |
322 | .mode_support = MDIO_SUPPORTS_C22 | 321 | .mode_support = MDIO_SUPPORTS_C22 |
323 | }; | 322 | }; |
324 | #endif | ||
325 | 323 | ||
326 | #endif | 324 | #endif |
327 | 325 | ||