Commit 86822c2f authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Linus Walleij

pinctrl: stm32: add 'depends on HAS_IOMEM' to fix unmet dependency

These configs select MFD_SYSCON, but do not depend on HAS_IOMEM.

Compile testing on architecture without HAS_IOMEM causes "unmet
direct dependencies" in Kconfig phase.

Detected by "make ARCH=score allyesconfig".
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent b2f78906
...@@ -11,37 +11,37 @@ config PINCTRL_STM32 ...@@ -11,37 +11,37 @@ config PINCTRL_STM32
config PINCTRL_STM32F429 config PINCTRL_STM32F429
bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429 bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429
depends on OF depends on OF && HAS_IOMEM
default MACH_STM32F429 default MACH_STM32F429
select PINCTRL_STM32 select PINCTRL_STM32
config PINCTRL_STM32F469 config PINCTRL_STM32F469
bool "STMicroelectronics STM32F469 pin control" if COMPILE_TEST && !MACH_STM32F469 bool "STMicroelectronics STM32F469 pin control" if COMPILE_TEST && !MACH_STM32F469
depends on OF depends on OF && HAS_IOMEM
default MACH_STM32F469 default MACH_STM32F469
select PINCTRL_STM32 select PINCTRL_STM32
config PINCTRL_STM32F746 config PINCTRL_STM32F746
bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746 bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746
depends on OF depends on OF && HAS_IOMEM
default MACH_STM32F746 default MACH_STM32F746
select PINCTRL_STM32 select PINCTRL_STM32
config PINCTRL_STM32F769 config PINCTRL_STM32F769
bool "STMicroelectronics STM32F769 pin control" if COMPILE_TEST && !MACH_STM32F769 bool "STMicroelectronics STM32F769 pin control" if COMPILE_TEST && !MACH_STM32F769
depends on OF depends on OF && HAS_IOMEM
default MACH_STM32F769 default MACH_STM32F769
select PINCTRL_STM32 select PINCTRL_STM32
config PINCTRL_STM32H743 config PINCTRL_STM32H743
bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743 bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743
depends on OF depends on OF && HAS_IOMEM
default MACH_STM32H743 default MACH_STM32H743
select PINCTRL_STM32 select PINCTRL_STM32
config PINCTRL_STM32MP157 config PINCTRL_STM32MP157
bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157 bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157
depends on OF depends on OF && HAS_IOMEM
default MACH_STM32MP157 default MACH_STM32MP157
select PINCTRL_STM32 select PINCTRL_STM32
endif endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment