Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Masahiro Yamada and committed by
Brian Norris
0ed6ca3a 44991b3d

+1 -1
+1 -1
drivers/mtd/nand/Kconfig
··· 55 55 config MTD_NAND_DENALI_DT 56 56 tristate "Support Denali NAND controller as a DT device" 57 57 select MTD_NAND_DENALI 58 - depends on HAS_DMA && HAVE_CLK 58 + depends on HAS_DMA && HAVE_CLK && OF 59 59 help 60 60 Enable the driver for NAND flash on platforms using a Denali NAND 61 61 controller as a DT device.