Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327751
b: refs/heads/master
c: 1f9defa
h: refs/heads/master
i:
  327749: 31ac0f3
  327747: 3ac7d8c
  327743: 7a10dde
v: v3
  • Loading branch information
Srinivas Kandagatla authored and David S. Miller committed Aug 31, 2012
1 parent 435d5e5 commit fc6c85d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a5cf5ce92ecefcbeb3265e6f894905ab3ed5c4c2
refs/heads/master: 1f9defa0c267ebefd02b8b25697678f7911e74d8
3 changes: 2 additions & 1 deletion trunk/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ static int stmmac_pltfr_remove(struct platform_device *pdev)
{
struct net_device *ndev = platform_get_drvdata(pdev);
struct stmmac_priv *priv = netdev_priv(ndev);
void __iomem *addr = priv->ioaddr;
struct resource *res;
int ret = stmmac_dvr_remove(ndev);

Expand All @@ -194,7 +195,7 @@ static int stmmac_pltfr_remove(struct platform_device *pdev)

platform_set_drvdata(pdev, NULL);

iounmap((void __force __iomem *)priv->ioaddr);
iounmap(addr);
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
release_mem_region(res->start, resource_size(res));

Expand Down

0 comments on commit fc6c85d

Please sign in to comment.