From: Tony Lindgren Date: Wed, 2 Aug 2006 13:41:39 +0000 (+0100) Subject: [ARM] 3743/1: ARM: OMAP: Fix compile for OMAP X-Git-Tag: MMI-PSA29.97-13-9~47940^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e252630f1fd1d14ac4081e566d2f697ae1779215;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [ARM] 3743/1: ARM: OMAP: Fix compile for OMAP Patch from Tony Lindgren "clocks" is only needed only for CONFIG_OMAP_RESET_CLOCKS, which turns of all unused clocks in with late_initcall. This is to kill clocks that may have been left on by the bootloader. Having static and non-static declaration of clocks makes omap_h2_1610_defconfig build fail. Signed-off-by: Tony Lindgren Signed-off-by: Russell King --- diff --git a/include/asm-arm/arch-omap/clock.h b/include/asm-arm/arch-omap/clock.h index 3c4eb9fbe48a..f83003f5287b 100644 --- a/include/asm-arm/arch-omap/clock.h +++ b/include/asm-arm/arch-omap/clock.h @@ -48,8 +48,6 @@ struct clk_functions { }; extern unsigned int mpurate; -extern struct list_head clocks; -extern spinlock_t clockfw_lock; extern int clk_init(struct clk_functions * custom_clocks); extern int clk_register(struct clk *clk);