diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2015-11-09 04:31:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-13 22:59:48 -0500 |
commit | f8032cb4f574c0de5ac1d65d61e972957e6f1631 (patch) | |
tree | af16af2ce59a0574d705dcd1034785b4fcded79d /drivers/tty | |
parent | 55fe84b17a8f9c7a3cdfbfefdb519311aa6ff1da (diff) |
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')
-rw-r--r-- | drivers/tty/serial/Kconfig | 1 |
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 | |||
572 | 572 | ||
573 | config SERIAL_IMX | 573 | config SERIAL_IMX |
574 | tristate "IMX serial port support" | 574 | tristate "IMX serial port support" |
575 | depends on HAS_DMA | ||
575 | depends on ARCH_MXC || COMPILE_TEST | 576 | depends on ARCH_MXC || COMPILE_TEST |
576 | select SERIAL_CORE | 577 | select SERIAL_CORE |
577 | select RATIONAL | 578 | select RATIONAL |