Skip to content

Commit

Permalink
clk: imx: clk-cpu: Include "clk.h" header file
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabio Estevam authored and Shawn Guo committed Jun 3, 2015
1 parent 65d0a16 commit a39973a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/imx/clk-cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a39973a

Please sign in to comment.