[PATCH v2 28/28] ARM: tegra: clock: Add forward reference to struct clk

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Jan 24 05:26:47 EST 2011


On Sun, Jan 23, 2011 at 06:01:33PM -0800, Colin Cross wrote:
> diff --git a/arch/arm/mach-tegra/include/mach/clkdev.h b/arch/arm/mach-tegra/include/mach/clkdev.h
> index 412f5c6..66cd3f4 100644
> --- a/arch/arm/mach-tegra/include/mach/clkdev.h
> +++ b/arch/arm/mach-tegra/include/mach/clkdev.h
> @@ -20,6 +20,8 @@
>  #ifndef __MACH_CLKDEV_H
>  #define __MACH_CLKDEV_H
>  
> +struct clk;
> +
>  static inline int __clk_get(struct clk *clk)
>  {
>  	return 1;

If you're having to add that, I suspect this include is being
inappropriately included by files.



More information about the linux-arm-kernel mailing list