From: Geert Uytterhoeven Date: Thu, 23 Apr 2015 14:15:41 +0000 (+0200) Subject: serial: SERIAL_IFX6X60 should depend on HAS_DMA X-Git-Tag: omap-for-v4.2/wakeirq-drivers-v2^2~120 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35a0f950aadcb65e43fc1cbc5790f313737d9148;p=pandora-kernel.git serial: SERIAL_IFX6X60 should depend on HAS_DMA If NO_DMA=y: drivers/built-in.o: In function `ifx_spi_free_device': ifx6x60.c:(.text+0x96d9a): undefined reference to `dma_free_coherent' drivers/built-in.o: In function `ifx_spi_spi_probe': ifx6x60.c:(.text+0x978a2): undefined reference to `dma_alloc_coherent' While DMA is optional in this driver, and is used only if ifx_modem_platform_data.use_dma is set, there are currently no in-tree users of ifx_modem_platform_data (and thus of this driver), so just make it depend on HAS_DMA. Signed-off-by: Geert Uytterhoeven Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed