projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffb0116
)
mfd: db8500-prcmu: Staticize clk_mgt
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 23 Aug 2013 11:35:20 +0000
(17:05 +0530)
committer
Lee Jones
<lee.jones@linaro.org>
Mon, 2 Sep 2013 09:22:31 +0000
(10:22 +0100)
clk_mgt is used only in this file. Make it static.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/db8500-prcmu.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/db8500-prcmu.c
b/drivers/mfd/db8500-prcmu.c
index
961036e
..
f746038
100644
(file)
--- a/
drivers/mfd/db8500-prcmu.c
+++ b/
drivers/mfd/db8500-prcmu.c
@@
-465,7
+465,7
@@
static DEFINE_SPINLOCK(clk_mgt_lock);
#define CLK_MGT_ENTRY(_name, _branch, _clk38div)[PRCMU_##_name] = \
{ (PRCM_##_name##_MGT), 0 , _branch, _clk38div}
-struct clk_mgt clk_mgt[PRCMU_NUM_REG_CLOCKS] = {
+st
atic st
ruct clk_mgt clk_mgt[PRCMU_NUM_REG_CLOCKS] = {
CLK_MGT_ENTRY(SGACLK, PLL_DIV, false),
CLK_MGT_ENTRY(UARTCLK, PLL_FIX, true),
CLK_MGT_ENTRY(MSP02CLK, PLL_FIX, true),