diff options
author | Tony Lindgren <tony@atomide.com> | 2010-02-12 21:26:48 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-02-15 18:27:04 +0100 |
commit | 140455fa007a618d2d1bf5e6e888206534035e6f (patch) | |
tree | de32228b71e7992ad95a00756daaa2f527043c8f /arch/arm/plat-omap/include/plat/clock.h | |
parent | omap3: Replace ARCH_OMAP34XX with ARCH_OMAP3 (diff) | |
download | linux-140455fa007a618d2d1bf5e6e888206534035e6f.tar.xz linux-140455fa007a618d2d1bf5e6e888206534035e6f.zip |
omap2/3/4: Replace orred CONFIG_ARCH_OMAP2/3/4 with CONFIG_ARCH_OMAP2PLUS
omap: Replace orred CONFIG_ARCH_OMAP2/3/4 with CONFIG_ARCH_OMAP2PLUS
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/clock.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/clock.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/plat-omap/include/plat/clock.h b/arch/arm/plat-omap/include/plat/clock.h index e41313208125..8a86df4ad99c 100644 --- a/arch/arm/plat-omap/include/plat/clock.h +++ b/arch/arm/plat-omap/include/plat/clock.h @@ -26,8 +26,7 @@ struct clkops { void (*find_companion)(struct clk *, void __iomem **, u8 *); }; -#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3) || \ - defined(CONFIG_ARCH_OMAP4) +#ifdef CONFIG_ARCH_OMAP2PLUS struct clksel_rate { u32 val; @@ -89,8 +88,7 @@ struct clk { __u8 enable_bit; __s8 usecount; u8 fixed_div; -#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3) || \ - defined(CONFIG_ARCH_OMAP4) +#ifdef CONFIG_ARCH_OMAP2PLUS void __iomem *clksel_reg; u32 clksel_mask; const struct clksel *clksel; |