diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-08-23 17:05:20 +0530 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-09-02 10:22:31 +0100 |
commit | 6746f2321c93f570386345c47c3aa262d17787c2 (patch) | |
tree | ae4307c909eb8c4119cddb8871002f9279b6f3c1 /drivers/mfd | |
parent | ffb011602d263ca57c05125c3b9ef476673e88f7 (diff) | |
download | lwn-6746f2321c93f570386345c47c3aa262d17787c2.tar.gz lwn-6746f2321c93f570386345c47c3aa262d17787c2.zip |
mfd: db8500-prcmu: Staticize clk_mgt
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>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/db8500-prcmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index 961036e51212..f7460383d4be 100644 --- 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] = { +static struct 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), |