summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2016-06-07 17:32:30 +0100
committerStephen Boyd <sboyd@codeaurora.org>2016-06-20 17:44:52 -0700
commitc895db85f7d8d3a5a5ba38a79592c0962a72c41b (patch)
tree954e416a2b3204b1c719fde7bb872e8e0ad5cdb0 /drivers/clk
parent14755549c7db6e26d04b208047f44538aa325802 (diff)
downloadtalos-op-linux-c895db85f7d8d3a5a5ba38a79592c0962a72c41b.tar.gz
talos-op-linux-c895db85f7d8d3a5a5ba38a79592c0962a72c41b.zip
clk: iproc: fix missing include of clk-iproc.h
Fix the implicit declaration of iproc_armpll_setup() by including clk-iproc.h which defines it. Fixes the warning: drivers/clk/bcm/clk-iproc-armpll.c:242:13: warning: symbol 'iproc_armpll_setup' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Acked-by: Ray Jui <ray.jui@broadcom.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/bcm/clk-iproc-armpll.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/bcm/clk-iproc-armpll.c b/drivers/clk/bcm/clk-iproc-armpll.c
index a196ee28a17a..698c507921f1 100644
--- a/drivers/clk/bcm/clk-iproc-armpll.c
+++ b/drivers/clk/bcm/clk-iproc-armpll.c
@@ -20,6 +20,8 @@
#include <linux/clkdev.h>
#include <linux/of_address.h>
+#include "clk-iproc.h"
+
#define IPROC_CLK_MAX_FREQ_POLICY 0x3
#define IPROC_CLK_POLICY_FREQ_OFFSET 0x008
#define IPROC_CLK_POLICY_FREQ_POLICY_FREQ_SHIFT 8
OpenPOWER on IntegriCloud