summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-10-21 17:18:36 +0300
committerFelipe Balbi <balbi@kernel.org>2019-10-27 09:58:44 +0300
commita51bab592fbbef10f0e42a8aed86adfbf6a68fa7 (patch)
treee8d953d318b261c7d03dc418bbfe79f539480987 /drivers/usb/dwc3/Kconfig
parent9794476942d8704cfbdef8d5f13427673ab70dcd (diff)
downloadlinux-a51bab592fbbef10f0e42a8aed86adfbf6a68fa7.tar.xz
usb: dwc3: select CONFIG_REGMAP_MMIO
After many randconfig builds, one configuration caused a link error with dwc3-meson-g12a lacking the regmap-mmio code: drivers/usb/dwc3/dwc3-meson-g12a.o: In function `dwc3_meson_g12a_probe': dwc3-meson-g12a.c:(.text+0x9f): undefined reference to `__devm_regmap_init_mmio_clk' Add the select statement that we have for all other users of that dependency. Fixes: c99993376f72 ("usb: dwc3: Add Amlogic G12A DWC3 glue") Acked-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/Kconfig')
-rw-r--r--drivers/usb/dwc3/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig
index 89abc6078703..556a876c7896 100644
--- a/drivers/usb/dwc3/Kconfig
+++ b/drivers/usb/dwc3/Kconfig
@@ -102,6 +102,7 @@ config USB_DWC3_MESON_G12A
depends on ARCH_MESON || COMPILE_TEST
default USB_DWC3
select USB_ROLE_SWITCH
+ select REGMAP_MMIO
help
Support USB2/3 functionality in Amlogic G12A platforms.
Say 'Y' or 'M' if you have one such device.