Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1292767 > unrolled thread

[PATCH] mtd: denali: make MTD_NAND_DENALI_DT dependent on OF

Started byMasahiro Yamada <yamada.masahiro@socionext.com>
First post2015-12-16 06:10 +0100
Last post2015-12-19 03:30 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] mtd: denali: make MTD_NAND_DENALI_DT dependent on OF Masahiro Yamada <yamada.masahiro@socionext.com> - 2015-12-16 06:10 +0100
    Re: [PATCH] mtd: denali: make MTD_NAND_DENALI_DT dependent on OF Brian Norris <computersforpeace@gmail.com> - 2015-12-19 03:30 +0100

#1292767 — [PATCH] mtd: denali: make MTD_NAND_DENALI_DT dependent on OF

FromMasahiro Yamada <yamada.masahiro@socionext.com>
Date2015-12-16 06:10 +0100
Subject[PATCH] mtd: denali: make MTD_NAND_DENALI_DT dependent on OF
Message-ID<qGcvD-5QJ-3@gated-at.bofh.it>
The build passes even if CONFIG_OF is undefined, but it makes sense
to let it depend on OF.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/mtd/nand/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 2896640..d803087 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.
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1295266

FromBrian Norris <computersforpeace@gmail.com>
Date2015-12-19 03:30 +0100
Message-ID<qHfrs-5uX-3@gated-at.bofh.it>
In reply to#1292767
On Wed, Dec 16, 2015 at 02:00:09PM +0900, Masahiro Yamada wrote:
> The build passes even if CONFIG_OF is undefined, but it makes sense
> to let it depend on OF.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

Applied to l2-mtd.git
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web