Arnd Bergmann 766475cb52 ARM: omap1: add back omap_set_dma_priority() stub
One of my multiplatform patches went a little too far and removed
a declaration that is needed for compile-testing the omapfb
driver on non-OMAP1 platforms:

  arm-linux-gnueabi-ld: drivers/video/fbdev/omap/omapfb_main.o: in function `omapfb_do_probe':
  omapfb_main.c:(.text+0x41ec): undefined reference to `omap_set_dma_priority'

Add back the inline stub, and in turn hide the definition when
omapfb is disabled, like we do for the usb specific bits.

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Fixes: 52ef8efcb75e ("dma: omap: hide legacy interface")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-04-29 09:53:52 +02:00
..
2022-04-22 11:08:56 +02:00
2022-04-22 11:08:56 +02:00
2022-04-22 11:08:56 +02:00
2012-10-31 15:37:14 -07:00
2022-04-22 11:08:55 +02:00