Message ID | 1425202552-27125-1-git-send-email-geert@linux-m68k.org |
---|---|
State | Accepted |
Commit | 5e0899db69e27abfdc1c6223ca74f479acdedaa6 |
Headers | show |
On Sun, Mar 01, 2015 at 10:35:52AM +0100, Geert Uytterhoeven wrote: > 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> Looks good. Pushed to linux-mtd.git. Thanks! Brian
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 5b76a173cd95d6d5..5897d8d8fa5a962d 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.
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> --- drivers/mtd/nand/Kconfig | 1 + 1 file changed, 1 insertion(+)