Commit cbc0cff8 authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP: Fix compile for mcbsp

If MMU fwk is not selected, compile fails otherwise.
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 5d6c9542
...@@ -49,12 +49,12 @@ struct omap_dsp { ...@@ -49,12 +49,12 @@ struct omap_dsp {
int initialized; int initialized;
}; };
#ifdef CONFIG_ARCH_OMAP1 if defined(CONFIG_ARCH_OMAP1) && defined(CONFIG_OMAP_MMU_FWK)
extern void omap_dsp_request_mpui(void); extern void omap_dsp_request_mpui(void);
extern void omap_dsp_release_mpui(void); extern void omap_dsp_release_mpui(void);
extern int omap_dsp_request_mem(void); extern int omap_dsp_request_mem(void);
extern int omap_dsp_release_mem(void); extern int omap_dsp_release_mem(void);
#elif defined(CONFIG_ARCH_OMAP2) #else
static inline int omap_dsp_request_mem(void) static inline int omap_dsp_request_mem(void)
{ {
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment