* [PATCH] mtd: denali: make MTD_NAND_DENALI_DT dependent on OF
@ 2015-12-16 5:00 Masahiro Yamada
2015-12-19 2:20 ` Brian Norris
0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2015-12-16 5:00 UTC (permalink / raw)
To: linux-mtd; +Cc: Masahiro Yamada, Brian Norris, David Woodhouse, linux-kernel
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mtd: denali: make MTD_NAND_DENALI_DT dependent on OF
2015-12-16 5:00 [PATCH] mtd: denali: make MTD_NAND_DENALI_DT dependent on OF Masahiro Yamada
@ 2015-12-19 2:20 ` Brian Norris
0 siblings, 0 replies; 2+ messages in thread
From: Brian Norris @ 2015-12-19 2:20 UTC (permalink / raw)
To: Masahiro Yamada; +Cc: linux-mtd, David Woodhouse, linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-19 2:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-16 5:00 [PATCH] mtd: denali: make MTD_NAND_DENALI_DT dependent on OF Masahiro Yamada
2015-12-19 2:20 ` Brian Norris
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.