Kconfig: nand: Remove redundant dependency on MTD_NAND

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sat Oct 8 21:59:01 PDT 2016


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=75c19e58abaed01ae20ad5802f6a6aa5a255117d
Commit:     75c19e58abaed01ae20ad5802f6a6aa5a255117d
Parent:     107896c5889a3f1dc7d985d6a0fdb3a1c0e6e047
Author:     Andrey Smirnov <andrew.smirnov at gmail.com>
AuthorDate: Thu Jul 21 14:59:19 2016 -0700
Committer:  Boris Brezillon <boris.brezillon at free-electrons.com>
CommitDate: Fri Sep 23 09:35:16 2016 +0200

    Kconfig: nand: Remove redundant dependency on MTD_NAND
    
    Config MTD_NAND_FSL_IFC is already located inside 'if MTD_NAND'
    statment, so there's no need to explicitly specify it as a dependency.
    
    Signed-off-by: Andrey Smirnov <andrew.smirnov at gmail.com>
    Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>
---
 drivers/mtd/nand/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index da23ca8..b2ba9ef 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -438,7 +438,7 @@ config MTD_NAND_FSL_ELBC
 
 config MTD_NAND_FSL_IFC
 	tristate "NAND support for Freescale IFC controller"
-	depends on MTD_NAND && (FSL_SOC || ARCH_LAYERSCAPE)
+	depends on FSL_SOC || ARCH_LAYERSCAPE
 	select FSL_IFC
 	select MEMORY
 	help



More information about the linux-mtd-cvs mailing list