diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-11-04 13:59:32 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-02-08 06:38:40 -0500 |
commit | bc51da4ee46d481dc3fbc57ec407594b80e92705 (patch) | |
tree | 35f3ad987f9c655127bd449a703b1222e6209484 /arch/arm/mach-omap2/clock.h | |
parent | b36ee724208358bd892ad279efce629740517149 (diff) |
[ARM] omap: eliminate unnecessary conditionals in omap2_clk_wait_ready
Rather than employing run-time tests in omap2_clk_wait_ready() to
decide whether we need to wait for the clock to become ready, we
can set the .ops appropriately.
This change deals with the OMAP24xx and OMAP34xx conditionals only.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap2/clock.h')
-rw-r--r-- | arch/arm/mach-omap2/clock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock.h b/arch/arm/mach-omap2/clock.h index d4bdb59b3000..b0358b659b43 100644 --- a/arch/arm/mach-omap2/clock.h +++ b/arch/arm/mach-omap2/clock.h | |||
@@ -52,6 +52,7 @@ int omap2_wait_clock_ready(void __iomem *reg, u32 cval, const char *name); | |||
52 | void omap2_clk_prepare_for_reboot(void); | 52 | void omap2_clk_prepare_for_reboot(void); |
53 | 53 | ||
54 | extern const struct clkops clkops_omap2_dflt_wait; | 54 | extern const struct clkops clkops_omap2_dflt_wait; |
55 | extern const struct clkops clkops_omap2_dflt; | ||
55 | 56 | ||
56 | extern u8 cpu_mask; | 57 | extern u8 cpu_mask; |
57 | 58 | ||