Skip to content

Commit

Permalink
stmicro: Fix typo in stmmac_pci.c and stmmac_platform.c
Browse files Browse the repository at this point in the history
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: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Masanari Iida authored and David S. Miller committed Feb 13, 2012
1 parent 4807f64 commit 0f09a34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static int __devinit stmmac_pci_probe(struct pci_dev *pdev,

priv = stmmac_dvr_probe(&(pdev->dev), &plat_dat);
if (!priv) {
pr_err("%s: main drivr probe failed", __func__);
pr_err("%s: main driver probe failed", __func__);
goto err_out;
}
priv->ioaddr = addr;
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static int stmmac_pltfr_probe(struct platform_device *pdev)
plat_dat = pdev->dev.platform_data;
priv = stmmac_dvr_probe(&(pdev->dev), plat_dat);
if (!priv) {
pr_err("%s: main drivr probe failed", __func__);
pr_err("%s: main driver probe failed", __func__);
goto out_unmap;
}

Expand Down

0 comments on commit 0f09a34

Please sign in to comment.