mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-27 22:51:31 +00:00
ARM: omap1: declare a dummy omap_set_dma_priority
omapfb calls directly into the omap_set_dma_priority() function in the DMA driver. This prevents compile-testing omapfb on other architectures. Add an inline function next to the other ones for non-omap configurations. Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
042c48848b
commit
0768fb6709
1 changed files with 3 additions and 0 deletions
|
@ -338,6 +338,9 @@ static inline int omap_lcd_dma_running(void)
|
|||
#endif
|
||||
|
||||
#else /* CONFIG_ARCH_OMAP */
|
||||
static inline void omap_set_dma_priority(int lch, int dst_port, int priority)
|
||||
{
|
||||
}
|
||||
|
||||
static inline struct omap_system_dma_plat_info *omap_get_plat_info(void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue