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>
This commit is contained in:
parent
6ae5fd3812
commit
61ad23a14a
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
||||||
#include <linux/of_address.h>
|
#include <linux/of_address.h>
|
||||||
#include <linux/clkdev.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;
|
static void __iomem *base;
|
||||||
struct clk *clk, *ref_clk;
|
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",
|
CLK_OF_DECLARE(moxart_pll_clock, "moxa,moxart-pll-clock",
|
||||||
moxart_of_pll_clk_init);
|
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;
|
static void __iomem *base;
|
||||||
struct clk *clk, *pll_clk;
|
struct clk *clk, *pll_clk;
|
||||||
|
|
Loading…
Add table
Reference in a new issue