提交 eec2beac 编写于 作者: T Tony Lindgren 提交者: Russell King

[ARM] 4869/1: ARM: OMAP: Fix compile for mcbsp

Until DSP MMU code is merged, dsp_request_mem() does not exist.
Signed-off-by: NTony Lindgren <tony@atomide.com>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 4e7ffb6a
...@@ -24,11 +24,17 @@ ...@@ -24,11 +24,17 @@
#ifndef ASM_ARCH_DSP_COMMON_H #ifndef ASM_ARCH_DSP_COMMON_H
#define ASM_ARCH_DSP_COMMON_H #define ASM_ARCH_DSP_COMMON_H
#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);
#else
static inline int omap_dsp_request_mem(void)
{
return 0;
}
#define omap_dsp_release_mem() do {} while (0)
#endif #endif
#endif /* ASM_ARCH_DSP_COMMON_H */ #endif /* ASM_ARCH_DSP_COMMON_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册