From: Christophe Kerello Date: Fri, 24 Mar 2023 15:51:05 +0000 (+0100) Subject: mtd: rawnand: stm32_fmc2: depends on ARCH_STM32 instead of MACH_STM32MP157 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bb685c1f35c357e9b935880b2946b402d6860ee0;p=linux.git mtd: rawnand: stm32_fmc2: depends on ARCH_STM32 instead of MACH_STM32MP157 To be able to compile the driver on all STM32MP SOCs, we move the "depends on" on ARCH_STM32. Signed-off-by: Christophe Kerello Signed-off-by: Miquel Raynal Link: https://lore.kernel.org/linux-mtd/20230324155105.826063-3-christophe.kerello@foss.st.com --- diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index 170f1185ddc46..b523354dfb00c 100644 --- a/drivers/mtd/nand/raw/Kconfig +++ b/drivers/mtd/nand/raw/Kconfig @@ -373,7 +373,7 @@ config MTD_NAND_TEGRA config MTD_NAND_STM32_FMC2 tristate "Support for NAND controller on STM32MP SoCs" - depends on MACH_STM32MP157 || COMPILE_TEST + depends on ARCH_STM32 || COMPILE_TEST select MFD_SYSCON help Enables support for NAND Flash chips on SoCs containing the FMC2