From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id B0D051A17BC for ; Fri, 8 Jan 2016 06:21:54 +1100 (AEDT) Received: by mail-pa0-x234.google.com with SMTP id yy13so173170997pab.3 for ; Thu, 07 Jan 2016 11:21:54 -0800 (PST) From: Brian Norris To: Cc: linuxppc-dev@lists.ozlabs.org, Brian Norris , Scott Wood Subject: [PATCH] mtd: nand: add FSL_SOC dependency to drivers using FSL_LBC Date: Thu, 7 Jan 2016 11:21:41 -0800 Message-Id: <1452194501-115280-1-git-send-email-computersforpeace@gmail.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , I've managed to construct .config files (for ppc64) that come across this Kconfig warning: warning: (MPC836x_RDK && MTD_NAND_FSL_ELBC && MTD_NAND_FSL_UPM) selects FSL_LBC which has unmet direct dependencies (FSL_SOC) Let's add the FSL_SOC dependency to the NAND drivers. AFAICT, they are only supported on PPC32 FSL SoCs anyway. Signed-off-by: Brian Norris Cc: Scott Wood --- drivers/mtd/nand/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 289664089cf3..13bbceec6b5f 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -427,6 +427,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 @@ -448,6 +449,7 @@ config MTD_NAND_FSL_IFC config MTD_NAND_FSL_UPM tristate "Support for NAND on Freescale UPM" depends on PPC_83xx || PPC_85xx + depends on FSL_SOC select FSL_LBC help Enables support for NAND Flash chips wired onto Freescale PowerPC -- 2.6.0.rc2.230.g3dd15c0