summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-moxart.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-05-02 02:09:33 +0300
committerStephen Boyd <sboyd@codeaurora.org>2015-05-15 03:11:31 +0300
commit61ad23a14ac11002addd2b7f9235e15c033f6e3b (patch)
tree2d203c50e0f486a81b60a29a81a5a2b7ae946e75 /drivers/clk/clk-moxart.c
parent6ae5fd381251993a650a7fad51bd9318c19a6c80 (diff)
downloadlinux-61ad23a14ac11002addd2b7f9235e15c033f6e3b.tar.xz
clk: moxart: Silence sparse warnings
drivers/clk/clk-moxart.c:18:13: warning: symbol 'moxart_of_pll_clk_init' was not declared. Should it be static? drivers/clk/clk-moxart.c:56:13: warning: symbol 'moxart_of_apb_clk_init' was not declared. Should it be static? Cc: Jonas Jensen <jonas.jensen@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk-moxart.c')
-rw-r--r--drivers/clk/clk-moxart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/clk-moxart.c b/drivers/clk/clk-moxart.c
index 30a3b6999e10..5181b89c3cb2 100644
--- a/drivers/clk/clk-moxart.c
+++ b/drivers/clk/clk-moxart.c
@@ -15,7 +15,7 @@
#include <linux/of_address.h>
#include <linux/clkdev.h>
-void __init moxart_of_pll_clk_init(struct device_node *node)
+static void __init moxart_of_pll_clk_init(struct device_node *node)
{
static void __iomem *base;
struct clk *clk, *ref_clk;
@@ -53,7 +53,7 @@ void __init moxart_of_pll_clk_init(struct device_node *node)
CLK_OF_DECLARE(moxart_pll_clock, "moxa,moxart-pll-clock",
moxart_of_pll_clk_init);
-void __init moxart_of_apb_clk_init(struct device_node *node)
+static void __init moxart_of_apb_clk_init(struct device_node *node)
{
static void __iomem *base;
struct clk *clk, *pll_clk;