diff options
author | Tony Lindgren <tony@atomide.com> | 2013-11-15 20:27:29 +0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-11-15 20:27:29 +0400 |
commit | 26273e02a0cf18eb72416559310d3294390a9024 (patch) | |
tree | c6f8678a594076ba2ad8a1c3aa29d690c29c0ec7 /arch/arm/mach-omap2/prm44xx_54xx.h | |
parent | 3522bf7bfa248b99eafa2f4872190699a808c7d9 (diff) | |
download | linux-26273e02a0cf18eb72416559310d3294390a9024.tar.xz |
ARM: OMAP2+: Fix build for dra7xx without omap4 and 5
Otherwise we can get errors like:
arch/arm/mach-omap2/prm44xx.c:274: error: redefinition of ‘omap44xx_prm_reconfigure_io_chain’
arch/arm/mach-omap2/built-in.o: In function `default_finish_suspend':
arch/arm/mach-omap2/omap-mpuss-lowpower.c:95: undefined reference to `omap_do_wfi'
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/prm44xx_54xx.h')
-rw-r--r-- | arch/arm/mach-omap2/prm44xx_54xx.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/prm44xx_54xx.h b/arch/arm/mach-omap2/prm44xx_54xx.h index a085d9cc1f5d..7a976065e138 100644 --- a/arch/arm/mach-omap2/prm44xx_54xx.h +++ b/arch/arm/mach-omap2/prm44xx_54xx.h @@ -42,7 +42,8 @@ extern u32 omap4_prm_vcvp_read(u8 offset); extern void omap4_prm_vcvp_write(u32 val, u8 offset); extern u32 omap4_prm_vcvp_rmw(u32 mask, u32 bits, u8 offset); -#if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5) +#if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5) || \ + defined(CONFIG_SOC_DRA7XX) void omap44xx_prm_reconfigure_io_chain(void); #else static inline void omap44xx_prm_reconfigure_io_chain(void) |