ARM: davinci: fix build failure with allnoconfig
authorSekhar Nori <nsekhar@ti.com>
Wed, 20 Feb 2019 11:06:52 +0000 (16:36 +0530)
committerArnd Bergmann <arnd@arndb.de>
Mon, 25 Mar 2019 15:59:30 +0000 (16:59 +0100)
allnoconfig build with just ARCH_DAVINCI enabled
fails because drivers/clk/davinci/* depends on
REGMAP being enabled.

Fix it by selecting REGMAP_MMIO when building in
DaVinci support.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Reviewed-by: David Lechner <david@lechnology.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/Kconfig

index 054ead9..850b480 100644 (file)
@@ -596,6 +596,7 @@ config ARCH_DAVINCI
        select HAVE_IDE
        select PM_GENERIC_DOMAINS if PM
        select PM_GENERIC_DOMAINS_OF if PM && OF
+       select REGMAP_MMIO
        select RESET_CONTROLLER
        select SPARSE_IRQ
        select USE_OF