From: Masahiro Yamada Date: Wed, 16 Dec 2015 05:00:09 +0000 (+0900) Subject: mtd: denali: make MTD_NAND_DENALI_DT dependent on OF X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0ed6ca3a22f871fdb7335194f6488d14b2dad96a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mtd: denali: make MTD_NAND_DENALI_DT dependent on OF The build passes even if CONFIG_OF is undefined, but it makes sense to let it depend on OF. Signed-off-by: Masahiro Yamada Signed-off-by: Brian Norris --- diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 6c71f623a932..95b8d2b8a7af 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -55,7 +55,7 @@ config MTD_NAND_DENALI_PCI config MTD_NAND_DENALI_DT tristate "Support Denali NAND controller as a DT device" select MTD_NAND_DENALI - depends on HAS_DMA && HAVE_CLK + depends on HAS_DMA && HAVE_CLK && OF help Enable the driver for NAND flash on platforms using a Denali NAND controller as a DT device.