diff options
author | Rajendra Nayak <rnayak@ti.com> | 2012-04-27 07:05:52 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-11-12 21:18:50 -0500 |
commit | 25f4214e388dda818765b670fb608f2e6467d877 (patch) | |
tree | 7d93133ad7ab52df724461bc903a9d49aba08ddf /arch/arm/mach-omap2/clock.h | |
parent | 13a5b6228679456cbc47a8d50e6580063caf8058 (diff) |
ARM: OMAP3: clock: Cleanup !CONFIG_COMMON_CLK parts
Clean all #ifdef's added to OMAP3 clock code to make it COMMON clk
ready, not that CONFIG_COMMON_CLK is enabled.
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Mike Turquette <mturquette@ti.com>
[paul@pwsan.com: remove some ifdefs in mach-omap2/io.c]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/clock.h')
-rw-r--r-- | arch/arm/mach-omap2/clock.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-omap2/clock.h b/arch/arm/mach-omap2/clock.h index e1aa9c50d02..baeaff22950 100644 --- a/arch/arm/mach-omap2/clock.h +++ b/arch/arm/mach-omap2/clock.h | |||
@@ -586,13 +586,8 @@ int omap2_clksel_set_parent(struct clk *clk, struct clk *new_parent); | |||
586 | #endif | 586 | #endif |
587 | 587 | ||
588 | /* clkt_iclk.c public functions */ | 588 | /* clkt_iclk.c public functions */ |
589 | #ifdef CONFIG_COMMON_CLK | ||
590 | extern void omap2_clkt_iclk_allow_idle(struct clk_hw_omap *clk); | 589 | extern void omap2_clkt_iclk_allow_idle(struct clk_hw_omap *clk); |
591 | extern void omap2_clkt_iclk_deny_idle(struct clk_hw_omap *clk); | 590 | extern void omap2_clkt_iclk_deny_idle(struct clk_hw_omap *clk); |
592 | #else | ||
593 | extern void omap2_clkt_iclk_allow_idle(struct clk *clk); | ||
594 | extern void omap2_clkt_iclk_deny_idle(struct clk *clk); | ||
595 | #endif | ||
596 | 591 | ||
597 | #ifdef CONFIG_COMMON_CLK | 592 | #ifdef CONFIG_COMMON_CLK |
598 | u8 omap2_init_dpll_parent(struct clk_hw *hw); | 593 | u8 omap2_init_dpll_parent(struct clk_hw *hw); |
@@ -643,7 +638,6 @@ extern const struct clksel_rate gfx_l3_rates[]; | |||
643 | extern const struct clksel_rate dsp_ick_rates[]; | 638 | extern const struct clksel_rate dsp_ick_rates[]; |
644 | extern struct clk dummy_ck; | 639 | extern struct clk dummy_ck; |
645 | 640 | ||
646 | #ifdef CONFIG_COMMON_CLK | ||
647 | extern const struct clk_hw_omap_ops clkhwops_omap3_dpll; | 641 | extern const struct clk_hw_omap_ops clkhwops_omap3_dpll; |
648 | extern const struct clk_hw_omap_ops clkhwops_iclk_wait; | 642 | extern const struct clk_hw_omap_ops clkhwops_iclk_wait; |
649 | extern const struct clk_hw_omap_ops clkhwops_wait; | 643 | extern const struct clk_hw_omap_ops clkhwops_wait; |
@@ -661,16 +655,6 @@ extern const struct clk_hw_omap_ops clkhwops_apll54; | |||
661 | extern const struct clk_hw_omap_ops clkhwops_apll96; | 655 | extern const struct clk_hw_omap_ops clkhwops_apll96; |
662 | extern const struct clk_hw_omap_ops clkhwops_omap2xxx_dpll; | 656 | extern const struct clk_hw_omap_ops clkhwops_omap2xxx_dpll; |
663 | extern const struct clk_hw_omap_ops clkhwops_omap2430_i2chs_wait; | 657 | extern const struct clk_hw_omap_ops clkhwops_omap2430_i2chs_wait; |
664 | #else | ||
665 | extern const struct clkops clkops_omap2_iclk_dflt_wait; | ||
666 | extern const struct clkops clkops_omap2_iclk_dflt; | ||
667 | extern const struct clkops clkops_omap2_iclk_idle_only; | ||
668 | extern const struct clkops clkops_omap2_mdmclk_dflt_wait; | ||
669 | extern const struct clkops clkops_omap2xxx_dpll_ops; | ||
670 | extern const struct clkops clkops_omap3_noncore_dpll_ops; | ||
671 | extern const struct clkops clkops_omap3_core_dpll_ops; | ||
672 | extern const struct clkops clkops_omap4_dpllmx_ops; | ||
673 | #endif /* CONFIG_COMMON_CLK */ | ||
674 | 658 | ||
675 | /* clksel_rate blocks shared between OMAP44xx and AM33xx */ | 659 | /* clksel_rate blocks shared between OMAP44xx and AM33xx */ |
676 | extern const struct clksel_rate div_1_0_rates[]; | 660 | extern const struct clksel_rate div_1_0_rates[]; |