From: Andrey Smirnov Date: Thu, 21 Jul 2016 21:59:18 +0000 (-0700) Subject: Kconfig: nand: Make MTD_NAND_FSL_ELBC depend on FSL_SOC X-Git-Tag: Ubuntu-5.13.0-19.19~14859^2~2^2~30 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=107896c5889a3f1dc7d985d6a0fdb3a1c0e6e047;p=mirror_ubuntu-jammy-kernel.git Kconfig: nand: Make MTD_NAND_FSL_ELBC depend on FSL_SOC MTD_NAND_FSL_ELBC selects FSL_LBC that in turn depends on FSL_SOC, so depending on PPC instead of FSL_SOC leads to this message: warning: (MPC836x_RDK && MTD_NAND_FSL_ELBC && MTD_NAND_FSL_UPM) selects FSL_LBC which has unmet direct dependencies (FSL_SOC) when doing make ARCH=powerpc \ CROSS_COMPILE=powerpc-e500v2-linux-gnuspe- \ allmodconfig" Changing dependency to FSL_SOC fixes that. Signed-off-by: Andrey Smirnov Signed-off-by: Boris Brezillon --- diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 21ff58099f3b..da23ca88c16b 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -428,7 +428,7 @@ config MTD_NAND_ORION config MTD_NAND_FSL_ELBC tristate "NAND support for Freescale eLBC controllers" - depends on PPC + depends on FSL_SOC select FSL_LBC help Various Freescale chips, including the 8313, include a NAND Flash