aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/mv88x201x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/chelsio/mv88x201x.c')
-rw-r--r--drivers/net/chelsio/mv88x201x.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/chelsio/mv88x201x.c b/drivers/net/chelsio/mv88x201x.c
index c8e89480d906..cd856041af34 100644
--- a/drivers/net/chelsio/mv88x201x.c
+++ b/drivers/net/chelsio/mv88x201x.c
@@ -208,7 +208,7 @@ static struct cphy_ops mv88x201x_ops = {
208}; 208};
209 209
210static struct cphy *mv88x201x_phy_create(adapter_t *adapter, int phy_addr, 210static struct cphy *mv88x201x_phy_create(adapter_t *adapter, int phy_addr,
211 struct mdio_ops *mdio_ops) 211 const struct mdio_ops *mdio_ops)
212{ 212{
213 u32 val; 213 u32 val;
214 struct cphy *cphy = kzalloc(sizeof(*cphy), GFP_KERNEL); 214 struct cphy *cphy = kzalloc(sizeof(*cphy), GFP_KERNEL);
@@ -252,7 +252,7 @@ static int mv88x201x_phy_reset(adapter_t *adapter)
252 return 0; 252 return 0;
253} 253}
254 254
255struct gphy t1_mv88x201x_ops = { 255const struct gphy t1_mv88x201x_ops = {
256 mv88x201x_phy_create, 256 .create = mv88x201x_phy_create,
257 mv88x201x_phy_reset 257 .reset = mv88x201x_phy_reset
258}; 258};