]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: select CONFIG_REGMAP_MMIO
authorArnd Bergmann <arnd@arndb.de>
Mon, 21 Oct 2019 14:18:36 +0000 (16:18 +0200)
committerFelipe Balbi <balbi@kernel.org>
Sun, 27 Oct 2019 06:58:44 +0000 (08:58 +0200)
commita65240b612f699a0f971504fc355836f7eee3f9f
treee8d953d318b261c7d03dc418bbfe79f539480987
parent89a865a400e15017bdde373c1066a94a64e0cdae
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: 933ba51e9dfc ("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>
drivers/usb/dwc3/Kconfig