Skip to content

Commit

Permalink
mtd: nand: MTD_NAND_HISI504 should depend on HAS_DMA
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
geertu authored and computersforpeace committed Mar 3, 2015
1 parent e423c90 commit 5e0899d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mtd/nand/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 5e0899d

Please sign in to comment.