提交 0ed6ca3a 编写于 作者: M Masahiro Yamada 提交者: Brian Norris

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: NMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
上级 44991b3d
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册