diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-02-08 11:07:46 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-02-08 12:50:11 -0500 |
commit | d5e6072b753041b56236b014ccfd72a0d3177e08 (patch) | |
tree | 9e922b16f7c84c063977d22c71385239fbd4e5c2 /arch/arm/plat-omap/include/mach/clock.h | |
parent | 9a5fedac187f30116013a8420149d4ca11a44f0d (diff) |
[ARM] omap: handle RATE_CKCTL via .set_rate/.round_rate methods
It makes no sense to have the CKCTL rate selection implemented as a flag
and a special exception in the top level set_rate/round_rate methods.
Provide CKCTL set_rate/round_rate methods, and use these for where ever
RATE_CKCTL is used and they're not already overridden. This allows us
to remove the RATE_CKCTL flag.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-omap/include/mach/clock.h')
-rw-r--r-- | arch/arm/plat-omap/include/mach/clock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/mach/clock.h b/arch/arm/plat-omap/include/mach/clock.h index 06dd38a8a0c..5a7411e71f2 100644 --- a/arch/arm/plat-omap/include/mach/clock.h +++ b/arch/arm/plat-omap/include/mach/clock.h | |||
@@ -124,7 +124,7 @@ extern void clk_enable_init_clocks(void); | |||
124 | extern const struct clkops clkops_null; | 124 | extern const struct clkops clkops_null; |
125 | 125 | ||
126 | /* Clock flags */ | 126 | /* Clock flags */ |
127 | #define RATE_CKCTL (1 << 0) /* Main fixed ratio clocks */ | 127 | /* bit 0 is free */ |
128 | #define RATE_FIXED (1 << 1) /* Fixed clock rate */ | 128 | #define RATE_FIXED (1 << 1) /* Fixed clock rate */ |
129 | #define RATE_PROPAGATES (1 << 2) /* Program children too */ | 129 | #define RATE_PROPAGATES (1 << 2) /* Program children too */ |
130 | /* bits 3-4 are free */ | 130 | /* bits 3-4 are free */ |