From: David Brownell Date: Tue, 18 Mar 2008 04:41:12 +0000 (-0800) Subject: another dsp build fix ... X-Git-Tag: v2.6.25-omap1~115 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0518f1f405cb8267b48cb7a4d2a683a9dd02d7e7;p=linux-2.6-omap-h63xx.git another dsp build fix ... Another compile fix for DSP code ... these symbols are defined as NOPs in a header. Signed-off-by: David Brownell Signed-off-by: Tony Lindgren --- diff --git a/drivers/dsp/dspgateway/dsp_common.c b/drivers/dsp/dspgateway/dsp_common.c index af97ce1c697..7a4be53b563 100644 --- a/drivers/dsp/dspgateway/dsp_common.c +++ b/drivers/dsp/dspgateway/dsp_common.c @@ -502,6 +502,7 @@ void omap_dsp_release_mpui(void) mutex_unlock(&cpustat.lock); } +#if defined(CONFIG_ARCH_OMAP1) && defined(CONFIG_OMAP_MMU_FWK) int omap_dsp_request_mem(void) { int ret = 0; @@ -564,6 +565,7 @@ int omap_dsp_release_mem(void) return 0; } +#endif void dsp_register_mem_cb(int (*req_cb)(void), void (*rel_cb)(void)) { @@ -597,8 +599,10 @@ arch_initcall(omap_dsp_init); #ifdef CONFIG_ARCH_OMAP1 EXPORT_SYMBOL(omap_dsp_request_mpui); EXPORT_SYMBOL(omap_dsp_release_mpui); +#if defined(CONFIG_ARCH_OMAP1) && defined(CONFIG_OMAP_MMU_FWK) EXPORT_SYMBOL(omap_dsp_request_mem); EXPORT_SYMBOL(omap_dsp_release_mem); +#endif #endif /* CONFIG_ARCH_OMAP1 */ #ifdef CONFIG_OMAP_DSP_MODULE