OSDN Git Service

[ARM] 3743/1: ARM: OMAP: Fix compile for OMAP
authorTony Lindgren <tony@atomide.com>
Wed, 2 Aug 2006 13:41:39 +0000 (14:41 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 2 Aug 2006 13:41:39 +0000 (14:41 +0100)
commite252630f1fd1d14ac4081e566d2f697ae1779215
tree39ce8d4fc2f5457b41c92287074583e1d4ae8d2b
parent38c677cb9a683c9d477f845484b74b0a1b23e1fb
[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 <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-omap/clock.h