diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2015-11-09 12:31:15 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-14 06:59:48 +0300 |
commit | f8032cb4f574c0de5ac1d65d61e972957e6f1631 (patch) | |
tree | af16af2ce59a0574d705dcd1034785b4fcded79d | |
parent | 55fe84b17a8f9c7a3cdfbfefdb519311aa6ff1da (diff) | |
download | linux-f8032cb4f574c0de5ac1d65d61e972957e6f1631.tar.xz |
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>
-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 config SERIAL_IMX tristate "IMX serial port support" + depends on HAS_DMA depends on ARCH_MXC || COMPILE_TEST select SERIAL_CORE select RATIONAL |