[PATCH 6/6] ARM: omap1: add back omap_set_dma_priority() stub

Tony Lindgren tony at atomide.com
Thu Apr 28 22:32:24 PDT 2022


* Arnd Bergmann <arnd at kernel.org> [220428 13:33]:
> From: Arnd Bergmann <arnd at arndb.de>
> 
> 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.

Reviewed-by: Tony Lindgren <tony at atomide.com>



More information about the linux-arm-kernel mailing list