[PATCH v2] clk: imx: clk-cpu: Include "clk.h" header file
Fabio Estevam
festevam at gmail.com
Wed Apr 29 14:34:42 PDT 2015
From: Fabio Estevam <fabio.estevam at freescale.com>
Include the "clk.h" header file to fix the following sparse warning:
drivers/clk/imx/clk-cpu.c:77:12: warning: symbol 'imx_clk_cpu' was not declared. Should it be static?
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
Changes since v1:
- Rebased since the clk-cpu moved to drivers/clk/imx
drivers/clk/imx/clk-cpu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/imx/clk-cpu.c b/drivers/clk/imx/clk-cpu.c
index aa1c345..9d46eac 100644
--- a/drivers/clk/imx/clk-cpu.c
+++ b/drivers/clk/imx/clk-cpu.c
@@ -12,6 +12,7 @@
#include <linux/clk.h>
#include <linux/clk-provider.h>
#include <linux/slab.h>
+#include "clk.h"
struct clk_cpu {
struct clk_hw hw;
--
1.9.1
More information about the linux-arm-kernel
mailing list