diff options
author | Fabio Estevam <festevam@gmail.com> | 2012-01-03 13:35:25 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-01-09 13:26:27 -0500 |
commit | b60ef99c1164a8ad346cf41f9e71acfffb6d25a6 (patch) | |
tree | 1728de438ac20b9e83c7896e6ceb6182c3648353 /drivers/mtd/devices | |
parent | 800ffd3496987e91f599a135060ef49731e045ac (diff) |
mtd: Fix dependency for MTD_DOC200x
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>
Diffstat (limited to 'drivers/mtd/devices')
-rw-r--r-- | drivers/mtd/devices/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/devices/Kconfig b/drivers/mtd/devices/Kconfig index 952e956ef01d..37b05c3f2792 100644 --- a/drivers/mtd/devices/Kconfig +++ b/drivers/mtd/devices/Kconfig | |||
@@ -191,6 +191,7 @@ comment "Disk-On-Chip Device Drivers" | |||
191 | 191 | ||
192 | config MTD_DOC2000 | 192 | config MTD_DOC2000 |
193 | tristate "M-Systems Disk-On-Chip 2000 and Millennium (DEPRECATED)" | 193 | tristate "M-Systems Disk-On-Chip 2000 and Millennium (DEPRECATED)" |
194 | depends on MTD_NAND | ||
194 | select MTD_DOCPROBE | 195 | select MTD_DOCPROBE |
195 | select MTD_NAND_IDS | 196 | select MTD_NAND_IDS |
196 | ---help--- | 197 | ---help--- |
@@ -213,6 +214,7 @@ config MTD_DOC2000 | |||
213 | 214 | ||
214 | config MTD_DOC2001 | 215 | config MTD_DOC2001 |
215 | tristate "M-Systems Disk-On-Chip Millennium-only alternative driver (DEPRECATED)" | 216 | tristate "M-Systems Disk-On-Chip Millennium-only alternative driver (DEPRECATED)" |
217 | depends on MTD_NAND | ||
216 | select MTD_DOCPROBE | 218 | select MTD_DOCPROBE |
217 | select MTD_NAND_IDS | 219 | select MTD_NAND_IDS |
218 | ---help--- | 220 | ---help--- |
@@ -234,6 +236,7 @@ config MTD_DOC2001 | |||
234 | 236 | ||
235 | config MTD_DOC2001PLUS | 237 | config MTD_DOC2001PLUS |
236 | tristate "M-Systems Disk-On-Chip Millennium Plus" | 238 | tristate "M-Systems Disk-On-Chip Millennium Plus" |
239 | depends on MTD_NAND | ||
237 | select MTD_DOCPROBE | 240 | select MTD_DOCPROBE |
238 | select MTD_NAND_IDS | 241 | select MTD_NAND_IDS |
239 | ---help--- | 242 | ---help--- |