[PATCH] ARM: imx: clk-cpu: Include "clk.h" header file

Shawn Guo shawn.guo at linaro.org
Mon Apr 27 01:48:01 PDT 2015


On Thu, Apr 02, 2015 at 07:23:31PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
> 
> Include the "clk.h" header file to fix the following sparse warning:
> 
> arch/arm/mach-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>
> ---
>  arch/arm/mach-imx/clk-cpu.c | 2 ++

The file is being moved into drivers/clk/imx/.

Shawn

>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/mach-imx/clk-cpu.c b/arch/arm/mach-imx/clk-cpu.c
> index aa1c345..a482e66 100644
> --- a/arch/arm/mach-imx/clk-cpu.c
> +++ b/arch/arm/mach-imx/clk-cpu.c
> @@ -13,6 +13,8 @@
>  #include <linux/clk-provider.h>
>  #include <linux/slab.h>
>  
> +#include "clk.h"
> +
>  struct clk_cpu {
>  	struct clk_hw	hw;
>  	struct clk	*div;
> -- 
> 1.9.1
> 



More information about the linux-arm-kernel mailing list