aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/Kconfig
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2015-04-23 10:15:41 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-06 16:27:01 -0400
commit35a0f950aadcb65e43fc1cbc5790f313737d9148 (patch)
tree67a39188057adca87bda63d384ddff3e35bede5a /drivers/tty/serial/Kconfig
parentcbbcd1f3b8b05e3e4434ab1eb183091aeb6189eb (diff)
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 <geert@linux-m68k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
-rw-r--r--drivers/tty/serial/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index f8120c1bde14..daee18338636 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1349,7 +1349,7 @@ config SERIAL_ALTERA_UART_CONSOLE
1349 1349
1350config SERIAL_IFX6X60 1350config SERIAL_IFX6X60
1351 tristate "SPI protocol driver for Infineon 6x60 modem (EXPERIMENTAL)" 1351 tristate "SPI protocol driver for Infineon 6x60 modem (EXPERIMENTAL)"
1352 depends on GPIOLIB && SPI 1352 depends on GPIOLIB && SPI && HAS_DMA
1353 help 1353 help
1354 Support for the IFX6x60 modem devices on Intel MID platforms. 1354 Support for the IFX6x60 modem devices on Intel MID platforms.
1355 1355