mtd: Fix dependency for MTD_DOC200x
authorFabio Estevam <festevam@gmail.com>
Tue, 3 Jan 2012 18:35:25 +0000 (16:35 -0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 9 Jan 2012 18:26:27 +0000 (18:26 +0000)
Fix the following build warning:

warning: (MTD_DOC2000 && MTD_DOC2001 && MTD_DOC2001PLUS) selects MTD_NAND_IDS
which has unmet direct dependencies (MTD && MTD_NAND)

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/Kconfig

index 952e956ef01d1b78d05c39097952e9235bb950a4..37b05c3f2792a2bbc73521c52f4e69f8b45991cb 100644 (file)
@@ -191,6 +191,7 @@ comment "Disk-On-Chip Device Drivers"
 
 config MTD_DOC2000
        tristate "M-Systems Disk-On-Chip 2000 and Millennium (DEPRECATED)"
+       depends on MTD_NAND
        select MTD_DOCPROBE
        select MTD_NAND_IDS
        ---help---
@@ -213,6 +214,7 @@ config MTD_DOC2000
 
 config MTD_DOC2001
        tristate "M-Systems Disk-On-Chip Millennium-only alternative driver (DEPRECATED)"
+       depends on MTD_NAND
        select MTD_DOCPROBE
        select MTD_NAND_IDS
        ---help---
@@ -234,6 +236,7 @@ config MTD_DOC2001
 
 config MTD_DOC2001PLUS
        tristate "M-Systems Disk-On-Chip Millennium Plus"
+       depends on MTD_NAND
        select MTD_DOCPROBE
        select MTD_NAND_IDS
        ---help---