mirror of
https://github.com/torvalds/linux.git
synced 2026-11-09 13:44:03 +01:00
pinctrl: stm32: Drop the nonexistent CONFIG_MACH_STM32MP25 from the STM32MP257 default
Commit619f8ca4a7("pinctrl: stm32: add stm32mp257 pinctrl support") made CONFIG_PINCTRL_STM32MP257 default to MACH_STM32MP25, following the MACH_* pattern of the arm32 entries above it, but no Kconfig symbol of that name exists and git log -S finds no Kconfig file that ever defined one: the STM32MP25 family is arm64 only, where CONFIG_ARCH_STM32 covers it. Commitdba0aff2b8("pinctrl: stm32: Allow compile as module for stm32mp257") added "|| (ARCH_STM32 && ARM64)" next to it, so the first half now evaluates to n and changes no configuration. Drop the first half. Fixes:619f8ca4a7("pinctrl: stm32: add stm32mp257 pinctrl support") Assisted-by: LLM Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com> Reviewed-by: Antonio Borneo <antonio.borneo@foss.st.com> Signed-off-by: Linus Walleij <linusw@kernel.org>
This commit is contained in:
parent
49a1b31c71
commit
01f20711d0
|
|
@ -55,7 +55,7 @@ config PINCTRL_STM32MP157
|
|||
config PINCTRL_STM32MP257
|
||||
tristate "STMicroelectronics STM32MP257 pin control"
|
||||
depends on OF && HAS_IOMEM
|
||||
default MACH_STM32MP25 || (ARCH_STM32 && ARM64)
|
||||
default ARCH_STM32 && ARM64
|
||||
select PINCTRL_STM32
|
||||
|
||||
config PINCTRL_STM32_HDP
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user