ARM: davinci: fix build failure with allnoconfig [Linux 5.1]

ARM: davinci: fix build failure with allnoconfig [Linux 5.1]

This Linux kernel change "ARM: davinci: fix build failure with allnoconfig" is included in the Linux 5.1 release. This change is authored by Sekhar Nori <nsekhar [at] ti.com> on Wed Feb 20 16:36:52 2019 +0530. The commit for this change in Linux stable tree is 2dbed15 (patch).

ARM: davinci: fix build failure with allnoconfig

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 <[email protected]>
Reviewed-by: David Lechner <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>

There is one line of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 054ead9..850b480 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -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

Leave a Reply

Your email address will not be published. Required fields are marked *