diff options
author | Tony Lindgren <tony@atomide.com> | 2010-02-12 21:26:46 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-02-15 18:26:55 +0100 |
commit | 56213ca4e440c0b6e56a48f5901c55c4ce3cf1ba (patch) | |
tree | 7047bf0972fc65e7f32b873a9919398660ef12c3 /arch/arm/mach-omap2/opp2xxx.h | |
parent | omap2/3: Make get_irqnr_and_base common for mach-omap2 multiboot (diff) | |
download | linux-56213ca4e440c0b6e56a48f5901c55c4ce3cf1ba.tar.xz linux-56213ca4e440c0b6e56a48f5901c55c4ce3cf1ba.zip |
omap2/3: Multiboot compile fixes to compile in omap2 and omap3
Allows compiling in omap2 and omap3.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/opp2xxx.h')
-rw-r--r-- | arch/arm/mach-omap2/opp2xxx.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/opp2xxx.h b/arch/arm/mach-omap2/opp2xxx.h index ed6df04e2f29..38b730550506 100644 --- a/arch/arm/mach-omap2/opp2xxx.h +++ b/arch/arm/mach-omap2/opp2xxx.h @@ -417,7 +417,12 @@ struct prcm_config { extern const struct prcm_config omap2420_rate_table[]; + +#ifdef CONFIG_ARCH_OMAP2430 extern const struct prcm_config omap2430_rate_table[]; +#else +#define omap2430_rate_table NULL +#endif extern const struct prcm_config *rate_table; extern const struct prcm_config *curr_prcm_set; |