mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
[ARM] 4869/1: ARM: OMAP: Fix compile for mcbsp
Until DSP MMU code is merged, dsp_request_mem() does not exist. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
4e7ffb6ab4
commit
eec2beac27
1 changed files with 7 additions and 1 deletions
|
@ -24,11 +24,17 @@
|
|||
#ifndef 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_release_mpui(void);
|
||||
extern int omap_dsp_request_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 /* ASM_ARCH_DSP_COMMON_H */
|
||||
|
|
Loading…
Reference in a new issue