diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-05-01 23:03:08 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-05-15 02:11:29 +0200 |
commit | 52127755fe6bc5a7a6d28540938ccdfa2a7b5f90 (patch) | |
tree | dca527d52b4dba84ec257e4391a7b43a3538863a /drivers/clk/mmp/clk-apbc.c | |
parent | clk: socfpga: Silence sparse warning (diff) | |
download | linux-52127755fe6bc5a7a6d28540938ccdfa2a7b5f90.tar.xz linux-52127755fe6bc5a7a6d28540938ccdfa2a7b5f90.zip |
clk: mmp: Silence sparse warnings
drivers/clk/mmp/clk-apbc.c:118:16: warning: symbol 'clk_apbc_ops' was not declared. Should it be static?
drivers/clk/mmp/clk-apmu.c:64:16: warning: symbol 'clk_apmu_ops' was not declared. Should it be static?
Cc: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/mmp/clk-apbc.c')
-rw-r--r-- | drivers/clk/mmp/clk-apbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mmp/clk-apbc.c b/drivers/clk/mmp/clk-apbc.c index d14120eaa71f..09d41c717c52 100644 --- a/drivers/clk/mmp/clk-apbc.c +++ b/drivers/clk/mmp/clk-apbc.c @@ -115,7 +115,7 @@ static void clk_apbc_unprepare(struct clk_hw *hw) spin_unlock_irqrestore(apbc->lock, flags); } -struct clk_ops clk_apbc_ops = { +static struct clk_ops clk_apbc_ops = { .prepare = clk_apbc_prepare, .unprepare = clk_apbc_unprepare, }; |