summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-max-gen.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-05-01 22:17:37 +0300
committerStephen Boyd <sboyd@codeaurora.org>2015-05-15 03:11:18 +0300
commit9a39222db60cca13c78effbff745801c7b3c17a9 (patch)
tree56a235025dd8fe36f7093c19aeef7ed0f17cd671 /drivers/clk/clk-max-gen.c
parent562ef0b098552970fd25e9c960691e6c2bcb1181 (diff)
downloadlinux-9a39222db60cca13c78effbff745801c7b3c17a9.tar.xz
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 <javier.martinez@collabora.co.uk> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk-max-gen.c')
-rw-r--r--drivers/clk/clk-max-gen.c2
1 files changed, 2 insertions, 0 deletions
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 <linux/of.h>
#include <linux/export.h>
+#include "clk-max-gen.h"
+
struct max_gen_clk {
struct regmap *regmap;
u32 mask;