From: Kevin Hilman Date: Fri, 25 May 2007 21:46:42 +0000 (-0700) Subject: OMAP: DSP: Fix DSP build for omap1 X-Git-Tag: v2.6.22-omap1~77 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=8d937e9756c3d92e2b08e3d308e3b1f5c6ba6283;p=linux-2.6-omap-h63xx.git 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 --- 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