@@ -187,7 +187,7 @@ static const struct rockchip_p3phy_ops rk3588_ops = {
187
187
.phy_init = rockchip_p3phy_rk3588_init ,
188
188
};
189
189
190
- static int rochchip_p3phy_init (struct phy * phy )
190
+ static int rockchip_p3phy_init (struct phy * phy )
191
191
{
192
192
struct rockchip_p3phy_priv * priv = phy_get_drvdata (phy );
193
193
int ret ;
@@ -210,7 +210,7 @@ static int rochchip_p3phy_init(struct phy *phy)
210
210
return ret ;
211
211
}
212
212
213
- static int rochchip_p3phy_exit (struct phy * phy )
213
+ static int rockchip_p3phy_exit (struct phy * phy )
214
214
{
215
215
struct rockchip_p3phy_priv * priv = phy_get_drvdata (phy );
216
216
@@ -219,9 +219,9 @@ static int rochchip_p3phy_exit(struct phy *phy)
219
219
return 0 ;
220
220
}
221
221
222
- static const struct phy_ops rochchip_p3phy_ops = {
223
- .init = rochchip_p3phy_init ,
224
- .exit = rochchip_p3phy_exit ,
222
+ static const struct phy_ops rockchip_p3phy_ops = {
223
+ .init = rockchip_p3phy_init ,
224
+ .exit = rockchip_p3phy_exit ,
225
225
.set_mode = rockchip_p3phy_set_mode ,
226
226
.owner = THIS_MODULE ,
227
227
};
@@ -280,7 +280,7 @@ static int rockchip_p3phy_probe(struct platform_device *pdev)
280
280
return priv -> num_lanes ;
281
281
}
282
282
283
- priv -> phy = devm_phy_create (dev , NULL , & rochchip_p3phy_ops );
283
+ priv -> phy = devm_phy_create (dev , NULL , & rockchip_p3phy_ops );
284
284
if (IS_ERR (priv -> phy )) {
285
285
dev_err (dev , "failed to create combphy\n" );
286
286
return PTR_ERR (priv -> phy );
0 commit comments