clk: imx: clk-cpu: Include "clk.h" header file
Subsystems (3)
Fabio Estevam
reviewerPATCH v2 1/1 clk: imx: clk-cpu: Include "clk.h" header file
From: Fabio Estevam <[email protected]>
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 <[email protected]>
---
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(+)
drivers/clk/imx/clk-cpu.c +1 -0
@@ -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;
Signature · 1 line
1.9.1
Shawn Guo
AppliedPATCH v2 1/1 clk: imx: clk-cpu: Include "clk.h" header file
Quoted 7 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
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 <[email protected]>
Applied, thanks.