diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2015-03-01 12:35:52 +0300 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-03-03 09:55:56 +0300 |
commit | 5e0899db69e27abfdc1c6223ca74f479acdedaa6 (patch) | |
tree | bc62694a10f73d567688729202f365942c1d3174 /drivers/mtd/nand | |
parent | e423c90a6520d704cd885d742b499dfd6b0f6277 (diff) | |
download | linux-5e0899db69e27abfdc1c6223ca74f479acdedaa6.tar.xz |
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>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 5b76a173cd95..5897d8d8fa5a 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -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. |