public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: linux-omap@vger.kernel.org
Subject: another dsp build fix ...
Date: Mon, 17 Mar 2008 20:41:12 -0800	[thread overview]
Message-ID: <200803172141.12298.david-b@pacbell.net> (raw)

Another compile fix for DSP code ... these symbols are defined
as NOPs in a header.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
---
 drivers/dsp/dspgateway/dsp_common.c |    4 ++++
 1 files changed, 4 insertions(+)

--- osk2.orig/drivers/dsp/dspgateway/dsp_common.c	2008-03-17 21:03:13.000000000 -0700
+++ osk2/drivers/dsp/dspgateway/dsp_common.c	2008-03-17 21:03:16.000000000 -0700
@@ -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

             reply	other threads:[~2008-03-18  4:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-18  4:41 David Brownell [this message]
2008-03-18  9:19 ` another dsp build fix Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200803172141.12298.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=linux-omap@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox