]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
another dsp build fix ...
authorDavid Brownell <david-b@pacbell.net>
Tue, 18 Mar 2008 04:41:12 +0000 (20:41 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 18 Mar 2008 09:18:04 +0000 (11:18 +0200)
Another compile fix for DSP code ... these symbols are defined
as NOPs in a header.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/dsp/dspgateway/dsp_common.c

index af97ce1c697a3c4894deb02e3ce2a975fa7ad8b1..7a4be53b563bfd9979f83e01b86421d400cfdebb 100644 (file)
@@ -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