Commit 0f09a343 authored by Masanari Iida's avatar Masanari Iida Committed by David S. Miller

stmicro: Fix typo in stmmac_pci.c and stmmac_platform.c

Correct spelling "drivr" to "driver" in
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4807f643
...@@ -98,7 +98,7 @@ static int __devinit stmmac_pci_probe(struct pci_dev *pdev, ...@@ -98,7 +98,7 @@ static int __devinit stmmac_pci_probe(struct pci_dev *pdev,
priv = stmmac_dvr_probe(&(pdev->dev), &plat_dat); priv = stmmac_dvr_probe(&(pdev->dev), &plat_dat);
if (!priv) { if (!priv) {
pr_err("%s: main drivr probe failed", __func__); pr_err("%s: main driver probe failed", __func__);
goto err_out; goto err_out;
} }
priv->ioaddr = addr; priv->ioaddr = addr;
......
...@@ -61,7 +61,7 @@ static int stmmac_pltfr_probe(struct platform_device *pdev) ...@@ -61,7 +61,7 @@ static int stmmac_pltfr_probe(struct platform_device *pdev)
plat_dat = pdev->dev.platform_data; plat_dat = pdev->dev.platform_data;
priv = stmmac_dvr_probe(&(pdev->dev), plat_dat); priv = stmmac_dvr_probe(&(pdev->dev), plat_dat);
if (!priv) { if (!priv) {
pr_err("%s: main drivr probe failed", __func__); pr_err("%s: main driver probe failed", __func__);
goto out_unmap; goto out_unmap;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment