projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbc44db
)
cpts: fix a run time warn_on.
author
Richard Cochran
<richardcochran@gmail.com>
Sun, 23 Dec 2012 21:19:10 +0000
(21:19 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 26 Dec 2012 22:15:09 +0000
(14:15 -0800)
This patch fixes a warning in clk_enable by calling clk_prepare_enable
instead.
Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpts.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/ti/cpts.c
b/drivers/net/ethernet/ti/cpts.c
index
5ab8fb4
..
463597f
100644
(file)
--- a/
drivers/net/ethernet/ti/cpts.c
+++ b/
drivers/net/ethernet/ti/cpts.c
@@
-247,7
+247,7
@@
static void cpts_clk_init(struct cpts *cpts)
cpts->refclk = NULL;
return;
}
- clk_enable(cpts->refclk);
+ clk_
prepare_
enable(cpts->refclk);
}
static void cpts_clk_release(struct cpts *cpts)