ARM: omap: dma: make usb support optional
authorArnd Bergmann <arnd@arndb.de>
Fri, 27 Nov 2020 14:46:47 +0000 (15:46 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 21 Apr 2022 13:01:53 +0000 (15:01 +0200)
commit17ea03b75e5665c9ce4945aa5afd097f3c845cdf
treeddc52dd28982b7bfe624c96e23ce2daca8758e13
parent7058e68c2fedf54a5b49ca6f6a4b63edfaea8464
ARM: omap: dma: make usb support optional

Most of the plat-omap/dma.c code is specific to the USB
driver. Hide that code when it is not in use, to make it
clearer which parts are actually still required.

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/plat-omap/dma.c
drivers/usb/gadget/udc/Kconfig
include/linux/omap-dma.h