aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/clock.h
diff options
context:
space:
mode:
authorRajendra Nayak <rnayak@ti.com>2012-04-27 07:05:52 -0400
committerPaul Walmsley <paul@pwsan.com>2012-11-12 21:18:50 -0500
commit25f4214e388dda818765b670fb608f2e6467d877 (patch)
tree7d93133ad7ab52df724461bc903a9d49aba08ddf /arch/arm/mach-omap2/clock.h
parent13a5b6228679456cbc47a8d50e6580063caf8058 (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.h16
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
590extern void omap2_clkt_iclk_allow_idle(struct clk_hw_omap *clk); 589extern void omap2_clkt_iclk_allow_idle(struct clk_hw_omap *clk);
591extern void omap2_clkt_iclk_deny_idle(struct clk_hw_omap *clk); 590extern void omap2_clkt_iclk_deny_idle(struct clk_hw_omap *clk);
592#else
593extern void omap2_clkt_iclk_allow_idle(struct clk *clk);
594extern void omap2_clkt_iclk_deny_idle(struct clk *clk);
595#endif
596 591
597#ifdef CONFIG_COMMON_CLK 592#ifdef CONFIG_COMMON_CLK
598u8 omap2_init_dpll_parent(struct clk_hw *hw); 593u8 omap2_init_dpll_parent(struct clk_hw *hw);
@@ -643,7 +638,6 @@ extern const struct clksel_rate gfx_l3_rates[];
643extern const struct clksel_rate dsp_ick_rates[]; 638extern const struct clksel_rate dsp_ick_rates[];
644extern struct clk dummy_ck; 639extern struct clk dummy_ck;
645 640
646#ifdef CONFIG_COMMON_CLK
647extern const struct clk_hw_omap_ops clkhwops_omap3_dpll; 641extern const struct clk_hw_omap_ops clkhwops_omap3_dpll;
648extern const struct clk_hw_omap_ops clkhwops_iclk_wait; 642extern const struct clk_hw_omap_ops clkhwops_iclk_wait;
649extern const struct clk_hw_omap_ops clkhwops_wait; 643extern const struct clk_hw_omap_ops clkhwops_wait;
@@ -661,16 +655,6 @@ extern const struct clk_hw_omap_ops clkhwops_apll54;
661extern const struct clk_hw_omap_ops clkhwops_apll96; 655extern const struct clk_hw_omap_ops clkhwops_apll96;
662extern const struct clk_hw_omap_ops clkhwops_omap2xxx_dpll; 656extern const struct clk_hw_omap_ops clkhwops_omap2xxx_dpll;
663extern const struct clk_hw_omap_ops clkhwops_omap2430_i2chs_wait; 657extern const struct clk_hw_omap_ops clkhwops_omap2430_i2chs_wait;
664#else
665extern const struct clkops clkops_omap2_iclk_dflt_wait;
666extern const struct clkops clkops_omap2_iclk_dflt;
667extern const struct clkops clkops_omap2_iclk_idle_only;
668extern const struct clkops clkops_omap2_mdmclk_dflt_wait;
669extern const struct clkops clkops_omap2xxx_dpll_ops;
670extern const struct clkops clkops_omap3_noncore_dpll_ops;
671extern const struct clkops clkops_omap3_core_dpll_ops;
672extern 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 */
676extern const struct clksel_rate div_1_0_rates[]; 660extern const struct clksel_rate div_1_0_rates[];