aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/omap-dma.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-08-09 21:42:31 +0200
committerArnd Bergmann <arnd@arndb.de>2022-04-21 15:00:48 +0200
commit0768fb6709343679e55f7135e2ed2c432e4500d8 (patch)
tree315563cd1c6f333cee215468cf32c18ddffddc14 /include/linux/omap-dma.h
parentARM: omap1: move lcd_dma code into omapfb driver (diff)
downloadlinux-dev-0768fb6709343679e55f7135e2ed2c432e4500d8.tar.xz
linux-dev-0768fb6709343679e55f7135e2ed2c432e4500d8.zip
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>
Diffstat (limited to 'include/linux/omap-dma.h')
-rw-r--r--include/linux/omap-dma.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/omap-dma.h b/include/linux/omap-dma.h
index 441f5f0919c6..5e228428fda1 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)
{