aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Ian King2022-01-28 09:25:31 +0000
committerDavid S. Miller2022-01-28 15:07:00 +0000
commit34a79c5dca4aeabc26073ef36233ea1f409b4d4b (patch)
treeb6e8909120d5b4337cddc768550fb1f9b4f627a1
parent7c263e9db33d124c9886fc5a92a96c12e875da4a (diff)
net/fsl: xgmac_mdio: Fix spelling mistake "frequecy" -> "frequency"
There is a spelling mistake in a dev_err message. Fix it. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/freescale/xgmac_mdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/xgmac_mdio.c b/drivers/net/ethernet/freescale/xgmac_mdio.c
index d38d0c372585..2243c8fcdee1 100644
--- a/drivers/net/ethernet/freescale/xgmac_mdio.c
+++ b/drivers/net/ethernet/freescale/xgmac_mdio.c
@@ -276,7 +276,7 @@ static int xgmac_mdio_set_mdc_freq(struct mii_bus *bus)
div = ((clk_get_rate(priv->enet_clk) / priv->mdc_freq) - 1) / 2;
if (div < 5 || div > 0x1ff) {
- dev_err(dev, "Requested MDC frequecy is out of range, ignoring");
+ dev_err(dev, "Requested MDC frequency is out of range, ignoring");
return -EINVAL;
}