Re: another dsp build fix ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* David Brownell <david-b@xxxxxxxxxxx> [080318 06:41]:
> Another compile fix for DSP code ... these symbols are defined
> as NOPs in a header.
> 
> Signed-off-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>
> ---
>  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

Pushing today.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux