From: Arnd Bergmann Date: Fri, 9 Aug 2019 19:42:31 +0000 (+0200) Subject: ARM: omap1: declare a dummy omap_set_dma_priority X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0768fb6709343679e55f7135e2ed2c432e4500d8;p=linux.git 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 Acked-by: Tony Lindgren Signed-off-by: Arnd Bergmann --- diff --git a/include/linux/omap-dma.h b/include/linux/omap-dma.h index 441f5f0919c69..5e228428fda1d 100644 --- a/include/linux/omap-dma.h +++ b/include/linux/omap-dma.h @@ -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) {