clk: iproc: fix missing include of clk-iproc.h
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 7 Jun 2016 16:32:30 +0000 (17:32 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 21 Jun 2016 00:44:52 +0000 (17:44 -0700)
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>
drivers/clk/bcm/clk-iproc-armpll.c

index a196ee28a17ae63f42e03a1f10714405254b52e2..698c507921f17e0a0af9d85e51094b8bcd114712 100644 (file)
@@ -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