From: Ben Dooks Date: Tue, 7 Jun 2016 16:38:09 +0000 (+0100) Subject: clk: at91: make of_sama5d2_clk_generated_setup() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=14755549c7db6e26d04b208047f44538aa325802;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git clk: at91: make of_sama5d2_clk_generated_setup() static The of_sama5d2_clk_generated_setup() is not exported outside of the driver, so make it static to fix the warning about it being not static: drivers/clk/at91/clk-generated.c:270:13: warning: symbol 'of_sama5d2_clk_generated_setup' was not declared. Should it be static? Signed-off-by: Ben Dooks Acked-by: Boris Brezillon Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/at91/clk-generated.c b/drivers/clk/at91/clk-generated.c index e1aa210dd7aa..7f6bec8837ea 100644 --- a/drivers/clk/at91/clk-generated.c +++ b/drivers/clk/at91/clk-generated.c @@ -267,7 +267,7 @@ at91_clk_register_generated(struct regmap *regmap, spinlock_t *lock, const char return clk; } -void __init of_sama5d2_clk_generated_setup(struct device_node *np) +static void __init of_sama5d2_clk_generated_setup(struct device_node *np) { int num; u32 id;