diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-12-16 00:00:09 -0500 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-12-18 21:20:41 -0500 |
commit | 0ed6ca3a22f871fdb7335194f6488d14b2dad96a (patch) | |
tree | c4a0abe5231f53692a8bec6366c2579b955f411a /drivers/mtd | |
parent | 44991b3d19cd71eabe68019ae7cb91df0c929614 (diff) |
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 <yamada.masahiro@socionext.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
55 | config MTD_NAND_DENALI_DT | 55 | config MTD_NAND_DENALI_DT |
56 | tristate "Support Denali NAND controller as a DT device" | 56 | tristate "Support Denali NAND controller as a DT device" |
57 | select MTD_NAND_DENALI | 57 | select MTD_NAND_DENALI |
58 | depends on HAS_DMA && HAVE_CLK | 58 | depends on HAS_DMA && HAVE_CLK && OF |
59 | help | 59 | help |
60 | Enable the driver for NAND flash on platforms using a Denali NAND | 60 | Enable the driver for NAND flash on platforms using a Denali NAND |
61 | controller as a DT device. | 61 | controller as a DT device. |