mtd: nand: omap2: Fix OMAP_BCH option dependency

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Jan 28 00:59:01 EST 2014


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=43b77693be6d222561283adfcd06ec3813770ea4
Commit:     43b77693be6d222561283adfcd06ec3813770ea4
Parent:     3487a63955c34ea508bcf4ca5131ddd953876e2d
Author:     Ezequiel Garcia <ezequiel.garcia at free-electrons.com>
AuthorDate: Fri Oct 25 07:17:55 2013 -0300
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Fri Jan 3 11:22:08 2014 -0800

    mtd: nand: omap2: Fix OMAP_BCH option dependency
    
    This option does not need to depend in MTD_NAND, for it's enclosed
    under it. Also, it's wrong to make it depend in ARCH_OMAP3 only
    since the controller is used in a wider range of SoCs.
    
    Instead, just leave the dependency on the OMAP2 driver option.
    
    Signed-off-by: Ezequiel Garcia <ezequiel.garcia at free-electrons.com>
    Acked-by: Pekon Gupta <pekon at ti.com>
    Signed-off-by: Brian Norris <computersforpeace at gmail.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 93ae6a6..8dd72b4 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -95,7 +95,7 @@ config MTD_NAND_OMAP2
 	  platforms.
 
 config MTD_NAND_OMAP_BCH
-	depends on MTD_NAND && MTD_NAND_OMAP2 && ARCH_OMAP3
+	depends on MTD_NAND_OMAP2
 	tristate "Support hardware based BCH error correction"
 	default n
 	select BCH



More information about the linux-mtd-cvs mailing list