summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-05-01 12:17:37 -0700
committerStephen Boyd <sboyd@codeaurora.org>2015-05-14 17:11:18 -0700
commit9a39222db60cca13c78effbff745801c7b3c17a9 (patch)
tree56a235025dd8fe36f7093c19aeef7ed0f17cd671
parent562ef0b098552970fd25e9c960691e6c2bcb1181 (diff)
downloadop-kernel-dev-9a39222db60cca13c78effbff745801c7b3c17a9.zip
op-kernel-dev-9a39222db60cca13c78effbff745801c7b3c17a9.tar.gz
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>
-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 6505049..35af9cb 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;
OpenPOWER on IntegriCloud