diff options
Diffstat (limited to 'drivers/net/chelsio/mv88e1xxx.c')
-rw-r--r-- | drivers/net/chelsio/mv88e1xxx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/chelsio/mv88e1xxx.c b/drivers/net/chelsio/mv88e1xxx.c index 5867e3b0a887..0632be0d6494 100644 --- a/drivers/net/chelsio/mv88e1xxx.c +++ b/drivers/net/chelsio/mv88e1xxx.c | |||
@@ -354,7 +354,7 @@ static struct cphy_ops mv88e1xxx_ops = { | |||
354 | }; | 354 | }; |
355 | 355 | ||
356 | static struct cphy *mv88e1xxx_phy_create(adapter_t *adapter, int phy_addr, | 356 | static struct cphy *mv88e1xxx_phy_create(adapter_t *adapter, int phy_addr, |
357 | struct mdio_ops *mdio_ops) | 357 | const struct mdio_ops *mdio_ops) |
358 | { | 358 | { |
359 | struct cphy *cphy = kzalloc(sizeof(*cphy), GFP_KERNEL); | 359 | struct cphy *cphy = kzalloc(sizeof(*cphy), GFP_KERNEL); |
360 | 360 | ||
@@ -390,7 +390,7 @@ static int mv88e1xxx_phy_reset(adapter_t* adapter) | |||
390 | return 0; | 390 | return 0; |
391 | } | 391 | } |
392 | 392 | ||
393 | struct gphy t1_mv88e1xxx_ops = { | 393 | const struct gphy t1_mv88e1xxx_ops = { |
394 | mv88e1xxx_phy_create, | 394 | .create = mv88e1xxx_phy_create, |
395 | mv88e1xxx_phy_reset | 395 | .reset = mv88e1xxx_phy_reset |
396 | }; | 396 | }; |