diff mbox series

ARM: davinci: fix build failure with allnoconfig

Message ID 20190220110652.25988-1-nsekhar@ti.com (mailing list archive)
State New, archived
Headers show
Series ARM: davinci: fix build failure with allnoconfig | expand

Commit Message

Sekhar Nori Feb. 20, 2019, 11:06 a.m. UTC
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>
---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

David Lechner March 12, 2019, 5:46 p.m. UTC | #1
On 2/20/19 5:06 AM, Sekhar Nori wrote:
> 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>
Arnd Bergmann March 25, 2019, 4:02 p.m. UTC | #2
On Tue, Mar 12, 2019 at 6:47 PM David Lechner <david@lechnology.com> wrote:
>
> On 2/20/19 5:06 AM, Sekhar Nori wrote:
> > 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>

Applied to the fixes branch, thanks!

     Arnd
Sekhar Nori March 27, 2019, 11:38 a.m. UTC | #3
On 25/03/19 9:32 PM, Arnd Bergmann wrote:
> On Tue, Mar 12, 2019 at 6:47 PM David Lechner <david@lechnology.com> wrote:
>>
>> On 2/20/19 5:06 AM, Sekhar Nori wrote:
>>> 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>
> 
> Applied to the fixes branch, thanks!

Thanks Arnd!

Regards,
Sekhar
diff mbox series

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 664e918e2624..eb50c0978860 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -593,6 +593,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 USE_OF
 	select ZONE_DMA