From 8d937e9756c3d92e2b08e3d308e3b1f5c6ba6283 Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Fri, 25 May 2007 14:46:42 -0700 Subject: [PATCH] OMAP: DSP: Fix DSP build for omap1 OMAP2430 builds/boots ok for me, but as Khem just pointed out, OMAP1 builds are broken. This patch gets OMAP1 building again: Signed-off-by: Kevin Hilman Signed-off-by: Tony Lindgren --- arch/arm/plat-omap/dsp/dsp_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/plat-omap/dsp/dsp_common.h b/arch/arm/plat-omap/dsp/dsp_common.h index 2369dad2645..2ef1e58bb07 100644 --- a/arch/arm/plat-omap/dsp/dsp_common.h +++ b/arch/arm/plat-omap/dsp/dsp_common.h @@ -28,10 +28,12 @@ #include #include "hardware_dsp.h" +#ifdef CONFIG_ARCH_OMAP2 #include "../../mach-omap2/prm.h" #include "../../mach-omap2/prm_regbits_24xx.h" #include "../../mach-omap2/cm.h" #include "../../mach-omap2/cm_regbits_24xx.h" +#endif #define DSPSPACE_SIZE 0x1000000 -- 2.41.0