aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/chelsio/subr.c')
-rw-r--r--drivers/net/chelsio/subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/chelsio/subr.c b/drivers/net/chelsio/subr.c
index 56d1d15a8f96..7de9a611e1f7 100644
--- a/drivers/net/chelsio/subr.c
+++ b/drivers/net/chelsio/subr.c
@@ -321,7 +321,7 @@ static int mi1_mdio_write(adapter_t *adapter, int phy_addr, int mmd_addr,
321} 321}
322 322
323#if defined(CONFIG_CHELSIO_T1_1G) || defined(CONFIG_CHELSIO_T1_COUGAR) 323#if defined(CONFIG_CHELSIO_T1_1G) || defined(CONFIG_CHELSIO_T1_COUGAR)
324static struct mdio_ops mi1_mdio_ops = { 324static const struct mdio_ops mi1_mdio_ops = {
325 .init = mi1_mdio_init, 325 .init = mi1_mdio_init,
326 .read = mi1_mdio_read, 326 .read = mi1_mdio_read,
327 .write = mi1_mdio_write 327 .write = mi1_mdio_write
@@ -377,7 +377,7 @@ static int mi1_mdio_ext_write(adapter_t *adapter, int phy_addr, int mmd_addr,
377 return 0; 377 return 0;
378} 378}
379 379
380static struct mdio_ops mi1_mdio_ext_ops = { 380static const struct mdio_ops mi1_mdio_ext_ops = {
381 .init = mi1_mdio_init, 381 .init = mi1_mdio_init,
382 .read = mi1_mdio_ext_read, 382 .read = mi1_mdio_ext_read,
383 .write = mi1_mdio_ext_write 383 .write = mi1_mdio_ext_write