summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-11-27 15:46:47 +0100
committerArnd Bergmann <arnd@arndb.de>2022-04-21 15:01:53 +0200
commit17ea03b75e5665c9ce4945aa5afd097f3c845cdf (patch)
treeddc52dd28982b7bfe624c96e23ce2daca8758e13 /drivers
parent7058e68c2fedf54a5b49ca6f6a4b63edfaea8464 (diff)
downloadlinux-stable-17ea03b75e5665c9ce4945aa5afd097f3c845cdf.tar.gz
linux-stable-17ea03b75e5665c9ce4945aa5afd097f3c845cdf.tar.bz2
linux-stable-17ea03b75e5665c9ce4945aa5afd097f3c845cdf.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/gadget/udc/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/udc/Kconfig b/drivers/usb/gadget/udc/Kconfig
index cee934dce4f0..69394dc1cdfb 100644
--- a/drivers/usb/gadget/udc/Kconfig
+++ b/drivers/usb/gadget/udc/Kconfig
@@ -128,7 +128,7 @@ config USB_GR_UDC
config USB_OMAP
tristate "OMAP USB Device Controller"
- depends on ARCH_OMAP1 || (ARCH_OMAP && COMPILE_TEST)
+ depends on ARCH_OMAP1
depends on ISP1301_OMAP || !(MACH_OMAP_H2 || MACH_OMAP_H3)
help
Many Texas Instruments OMAP processors have flexible full