diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-03-06 06:15:56 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-03-22 23:04:40 -0400 |
commit | 86822c2f3a7c343cadcbebae1d5f7d75de1b3cfe (patch) | |
tree | 414efab231008ea508bf5deb0b511d1108e7ff74 /drivers/pinctrl/stm32 | |
parent | b2f78906d5371f940b60f79edba48757f4295bb3 (diff) |
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: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/stm32')
-rw-r--r-- | drivers/pinctrl/stm32/Kconfig | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/pinctrl/stm32/Kconfig b/drivers/pinctrl/stm32/Kconfig index 1c4e00b2eb65..cd3936e3afaa 100644 --- a/drivers/pinctrl/stm32/Kconfig +++ b/drivers/pinctrl/stm32/Kconfig | |||
@@ -11,37 +11,37 @@ config PINCTRL_STM32 | |||
11 | 11 | ||
12 | config PINCTRL_STM32F429 | 12 | config PINCTRL_STM32F429 |
13 | bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429 | 13 | bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429 |
14 | depends on OF | 14 | depends on OF && HAS_IOMEM |
15 | default MACH_STM32F429 | 15 | default MACH_STM32F429 |
16 | select PINCTRL_STM32 | 16 | select PINCTRL_STM32 |
17 | 17 | ||
18 | config PINCTRL_STM32F469 | 18 | config PINCTRL_STM32F469 |
19 | bool "STMicroelectronics STM32F469 pin control" if COMPILE_TEST && !MACH_STM32F469 | 19 | bool "STMicroelectronics STM32F469 pin control" if COMPILE_TEST && !MACH_STM32F469 |
20 | depends on OF | 20 | depends on OF && HAS_IOMEM |
21 | default MACH_STM32F469 | 21 | default MACH_STM32F469 |
22 | select PINCTRL_STM32 | 22 | select PINCTRL_STM32 |
23 | 23 | ||
24 | config PINCTRL_STM32F746 | 24 | config PINCTRL_STM32F746 |
25 | bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746 | 25 | bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746 |
26 | depends on OF | 26 | depends on OF && HAS_IOMEM |
27 | default MACH_STM32F746 | 27 | default MACH_STM32F746 |
28 | select PINCTRL_STM32 | 28 | select PINCTRL_STM32 |
29 | 29 | ||
30 | config PINCTRL_STM32F769 | 30 | config PINCTRL_STM32F769 |
31 | bool "STMicroelectronics STM32F769 pin control" if COMPILE_TEST && !MACH_STM32F769 | 31 | bool "STMicroelectronics STM32F769 pin control" if COMPILE_TEST && !MACH_STM32F769 |
32 | depends on OF | 32 | depends on OF && HAS_IOMEM |
33 | default MACH_STM32F769 | 33 | default MACH_STM32F769 |
34 | select PINCTRL_STM32 | 34 | select PINCTRL_STM32 |
35 | 35 | ||
36 | config PINCTRL_STM32H743 | 36 | config PINCTRL_STM32H743 |
37 | bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743 | 37 | bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743 |
38 | depends on OF | 38 | depends on OF && HAS_IOMEM |
39 | default MACH_STM32H743 | 39 | default MACH_STM32H743 |
40 | select PINCTRL_STM32 | 40 | select PINCTRL_STM32 |
41 | 41 | ||
42 | config PINCTRL_STM32MP157 | 42 | config PINCTRL_STM32MP157 |
43 | bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157 | 43 | bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157 |
44 | depends on OF | 44 | depends on OF && HAS_IOMEM |
45 | default MACH_STM32MP157 | 45 | default MACH_STM32MP157 |
46 | select PINCTRL_STM32 | 46 | select PINCTRL_STM32 |
47 | endif | 47 | endif |