summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/Kconfig
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2015-11-09 10:31:15 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-13 19:59:48 -0800
commitf8032cb4f574c0de5ac1d65d61e972957e6f1631 (patch)
treeaf16af2ce59a0574d705dcd1034785b4fcded79d /drivers/tty/serial/Kconfig
parent55fe84b17a8f9c7a3cdfbfefdb519311aa6ff1da (diff)
downloadblackbird-op-linux-f8032cb4f574c0de5ac1d65d61e972957e6f1631.tar.gz
blackbird-op-linux-f8032cb4f574c0de5ac1d65d61e972957e6f1631.zip
serial: SERIAL_IMX_AUART should depend on HAS_DMA
If NO_DMA=y: ERROR: "dma_unmap_sg" [drivers/tty/serial/imx.ko] undefined! ERROR: "dma_map_sg" [drivers/tty/serial/imx.ko] undefined! Add a dependency on HAS_DMA to fix this. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
-rw-r--r--drivers/tty/serial/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index a1003eaa65d4..1ec4764f9b05 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -572,6 +572,7 @@ config BFIN_UART3_CTSRTS
config SERIAL_IMX
tristate "IMX serial port support"
+ depends on HAS_DMA
depends on ARCH_MXC || COMPILE_TEST
select SERIAL_CORE
select RATIONAL
OpenPOWER on IntegriCloud