]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
omap2 clock: convert PARENT_CONTROLS_CLOCK into a clock flag
authorPaul Walmsley <paul@pwsan.com>
Thu, 2 Aug 2007 18:10:15 +0000 (12:10 -0600)
committerTony Lindgren <tony@atomide.com>
Fri, 10 Aug 2007 09:35:58 +0000 (02:35 -0700)
commitde15493722b59c9842d9ca6f10eb9dd6a809e34f
tree381f3dfa89ef2439af959141c14dbf951dc59a68
parenta4f77550bcc72e51b3b07dd6e259ee9d4c07cf40
omap2 clock: convert PARENT_CONTROLS_CLOCK into a clock flag

The clock framework currently uses a magic value in struct clk
.enable_bit to indicate that the clock's parent controls enabling and
disabling the clock.  There's no need to use this type of in-band
special value when there's already a good means to indicate binary
clock parameters: the clock flags field.  This patch converts the
existing PARENT_CONTROLS_CLOCK code to use a clock flag.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock.c
arch/arm/mach-omap2/clock.h
include/asm-arm/arch-omap/clock.h