Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e0899db authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Brian Norris
Browse files

mtd: nand: MTD_NAND_HISI504 should depend on HAS_DMA



If NO_DMA=y:

    drivers/built-in.o: In function `hisi_nfc_probe':
    hisi504_nand.c:(.text+0x23e646): undefined reference to `dmam_alloc_coherent'

Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent e423c90a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -526,6 +526,7 @@ config MTD_NAND_SUNXI

config MTD_NAND_HISI504
	tristate "Support for NAND controller on Hisilicon SoC Hip04"
	depends on HAS_DMA
	help
	  Enables support for NAND controller on Hisilicon SoC Hip04.