summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-08-23 17:05:20 +0530
committerLee Jones <lee.jones@linaro.org>2013-09-02 10:22:31 +0100
commit6746f2321c93f570386345c47c3aa262d17787c2 (patch)
treeae4307c909eb8c4119cddb8871002f9279b6f3c1 /drivers/mfd
parentffb011602d263ca57c05125c3b9ef476673e88f7 (diff)
downloadop-kernel-dev-6746f2321c93f570386345c47c3aa262d17787c2.zip
op-kernel-dev-6746f2321c93f570386345c47c3aa262d17787c2.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c
index 961036e..f746038 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),
OpenPOWER on IntegriCloud