Skip to content

Commit b60ef99

Browse files
fabioestevamDavid Woodhouse
authored andcommitted
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 <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
1 parent 800ffd3 commit b60ef99

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/mtd/devices/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ comment "Disk-On-Chip Device Drivers"
191191

192192
config MTD_DOC2000
193193
tristate "M-Systems Disk-On-Chip 2000 and Millennium (DEPRECATED)"
194+
depends on MTD_NAND
194195
select MTD_DOCPROBE
195196
select MTD_NAND_IDS
196197
---help---
@@ -213,6 +214,7 @@ config MTD_DOC2000
213214

214215
config MTD_DOC2001
215216
tristate "M-Systems Disk-On-Chip Millennium-only alternative driver (DEPRECATED)"
217+
depends on MTD_NAND
216218
select MTD_DOCPROBE
217219
select MTD_NAND_IDS
218220
---help---
@@ -234,6 +236,7 @@ config MTD_DOC2001
234236

235237
config MTD_DOC2001PLUS
236238
tristate "M-Systems Disk-On-Chip Millennium Plus"
239+
depends on MTD_NAND
237240
select MTD_DOCPROBE
238241
select MTD_NAND_IDS
239242
---help---

0 commit comments

Comments
 (0)