ARM: davinci: fix unmet dependency on PINCTRL for PINCTRL_SINGLE
Subsystems (3)
PATCH 1/1 ARM: davinci: fix unmet dependency on PINCTRL for PINCTRL_SINGLE
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 <[email protected]>
--- arch/arm/mach-davinci/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-davinci/Kconfig +1 -1
@@ -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
Signature · 1 line
2.30.2