mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 10:57:46 +00:00
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 <geert@linux-m68k.org> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
e423c90a65
commit
5e0899db69
1 changed files with 1 additions and 0 deletions
|
@ -526,6 +526,7 @@ config MTD_NAND_SUNXI
|
||||||
|
|
||||||
config MTD_NAND_HISI504
|
config MTD_NAND_HISI504
|
||||||
tristate "Support for NAND controller on Hisilicon SoC Hip04"
|
tristate "Support for NAND controller on Hisilicon SoC Hip04"
|
||||||
|
depends on HAS_DMA
|
||||||
help
|
help
|
||||||
Enables support for NAND controller on Hisilicon SoC Hip04.
|
Enables support for NAND controller on Hisilicon SoC Hip04.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue