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)
commita51bab592fbbef10f0e42a8aed86adfbf6a68fa7
treee8d953d318b261c7d03dc418bbfe79f539480987
parent9794476942d8704cfbdef8d5f13427673ab70dcd
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>
drivers/usb/dwc3/Kconfig