lkml.org 
[lkml]   [2021]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] ARM: davinci: fix unmet dependency on PINCTRL for PINCTRL_SINGLE
Date
When ARCH_DAVINCI is enabled and PINCTRL is disabled,
Kbuild gives the following warning:

WARNING: unmet direct dependencies detected for PINCTRL_SINGLE
Depends on [n]: PINCTRL [=n] && OF [=y] && HAS_IOMEM [=y]
Selected by [y]:
- ARCH_DAVINCI [=y] && ARCH_MULTI_V5 [=y]

This is because ARCH_DAVINCI selects PINCTRL_SINGLE
without selecting or depending on PINCTRL, despite
PINCTRL_SINGLE depending on PINCTRL.

This unmet dependency was detected by Kismet, a
static analysis tool for Kconfig. Please advise
if this is not the appropriate solution.

Signed-off-by: Julian Braha <julianbraha@gmail.com>
---
arch/arm/mach-davinci/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig
index 1d3aef84287d..a9ae3ba4536c 100644
--- a/arch/arm/mach-davinci/Kconfig
+++ b/arch/arm/mach-davinci/Kconfig
@@ -9,7 +9,7 @@ menuconfig ARCH_DAVINCI
select PM_GENERIC_DOMAINS_OF if PM && OF
select REGMAP_MMIO
select RESET_CONTROLLER
- select PINCTRL_SINGLE
+ imply PINCTRL_SINGLE

if ARCH_DAVINCI

--
2.30.2
\
 
 \ /
  Last update: 2021-10-30 00:08    [W:0.029 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site