projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31278e7
)
TI DaVinci EMAC : Fix rmmod error
author
chaithrika@ti.com
<chaithrika@ti.com>
Wed, 17 Jun 2009 01:28:54 +0000
(
01:28
+0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 18 Jun 2009 07:29:08 +0000
(
00:29
-0700)
clk_disable was called twice in the remove function.
Correct this so that the driver module unloads without error.
Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/davinci_emac.c
patch
|
blob
|
history
diff --git
a/drivers/net/davinci_emac.c
b/drivers/net/davinci_emac.c
index 0e9b9f9632c1d5a6f535bb82280f4ed9bdf9b847..2df8fb0af701a0e081d8fee4820bb4047e2d6a6c 100644
(file)
--- a/
drivers/net/davinci_emac.c
+++ b/
drivers/net/davinci_emac.c
@@
-2767,7
+2767,6
@@
static int __devexit davinci_emac_remove(struct platform_device *pdev)
dev_notice(&ndev->dev, "DaVinci EMAC: davinci_emac_remove()\n");
- clk_disable(emac_clk);
platform_set_drvdata(pdev, NULL);
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
mdiobus_unregister(priv->mii_bus);