From: Stephen Boyd Date: Fri, 1 May 2015 19:17:37 +0000 (-0700) Subject: clk: max-gen: Silence sparse warnings X-Git-Tag: firefly_0821_release~176^2~1436^2~30^2~56 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9a39222db60cca13c78effbff745801c7b3c17a9;p=firefly-linux-kernel-4.4.55.git clk: max-gen: Silence sparse warnings drivers/clk/clk-max-gen.c:82:16: warning: symbol 'max_gen_clk_ops' was not declared. Should it be static? drivers/clk/clk-max-gen.c:109:5: warning: symbol 'max_gen_clk_probe' was not declared. Should it be static? drivers/clk/clk-max-gen.c:183:5: warning: symbol 'max_gen_clk_remove' was not declared. Should it be static? Acked-by: Javier Martinez Canillas Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/clk-max-gen.c b/drivers/clk/clk-max-gen.c index 6505049d50f1..35af9cb6da4f 100644 --- a/drivers/clk/clk-max-gen.c +++ b/drivers/clk/clk-max-gen.c @@ -31,6 +31,8 @@ #include #include +#include "clk-max-gen.h" + struct max_gen_clk { struct regmap *regmap; u32 mask;