projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7dd321
)
net/fec: set con_id in clk_get() call to NULL
author
Lothar Waßmann
<LW@KARO-electronics.de>
Wed, 7 Dec 2011 21:59:26 +0000
(21:59 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 9 Dec 2011 00:51:19 +0000
(19:51 -0500)
The con_id is actually not needed for clk_get().
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/freescale/fec.c
b/drivers/net/ethernet/freescale/fec.c
index
f224e58
..
65ee506
100644
(file)
--- a/
drivers/net/ethernet/freescale/fec.c
+++ b/
drivers/net/ethernet/freescale/fec.c
@@
-1585,7
+1585,7
@@
fec_probe(struct platform_device *pdev)
}
}
- fep->clk = clk_get(&pdev->dev,
"fec_clk"
);
+ fep->clk = clk_get(&pdev->dev,
NULL
);
if (IS_ERR(fep->clk)) {
ret = PTR_ERR(fep->clk);
goto failed_clk;