Przeglądaj źródła

clk: imx: clk-cpu: Include "clk.h" header file

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@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Fabio Estevam 10 lat temu
rodzic
commit
a39973a4fd
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      drivers/clk/imx/clk-cpu.c

+ 1 - 0
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;