summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/onenand/Kconfig
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2020-05-29 03:25:08 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-06-26 09:35:03 +0300
commit6232095cc57cd096f126fa23c227a20a1669cc4f (patch)
tree9b2801673d7b9f20ac7e207639ed8f32e557b379 /drivers/mtd/nand/onenand/Kconfig
parentdeedeb60e812b464c18a9902984eb3f643efcae9 (diff)
downloadlinux-6232095cc57cd096f126fa23c227a20a1669cc4f.tar.xz
mtd: nand: Drop useless 'depends on' in Kconfig
Both OneNAND and raw NAND bits can't be compiled if MTD is disabled because of the if/endif logic in drivers/mtd/Kconfig. There is no need for an extra "depends on MTD" in their respective Kconfig files. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Link: https://lore.kernel.org/linux-mtd/20200529002517.3546-12-miquel.raynal@bootlin.com
Diffstat (limited to 'drivers/mtd/nand/onenand/Kconfig')
-rw-r--r--drivers/mtd/nand/onenand/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/onenand/Kconfig b/drivers/mtd/nand/onenand/Kconfig
index 572b8fe69abb..1a0e65bc246e 100644
--- a/drivers/mtd/nand/onenand/Kconfig
+++ b/drivers/mtd/nand/onenand/Kconfig
@@ -1,7 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
menuconfig MTD_ONENAND
tristate "OneNAND Device Support"
- depends on MTD
depends on HAS_IOMEM
help
This enables support for accessing all type of OneNAND flash