mtd: nand: MTD_NAND_HISI504 should depend on HAS_DMA
authorGeert Uytterhoeven <[email protected]>
Sun, 1 Mar 2015 09:35:52 +0000 (10:35 +0100)
committerBrian Norris <[email protected]>
Tue, 3 Mar 2015 06:55:56 +0000 (22:55 -0800)
commit5e0899db69e27abfdc1c6223ca74f479acdedaa6
treebc62694a10f73d567688729202f365942c1d3174
parente423c90a6520d704cd885d742b499dfd6b0f6277
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: Geert Uytterhoeven <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
drivers/mtd/nand/Kconfig