mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
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
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user