diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2015-11-09 04:31:16 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-13 22:59:48 -0500 |
commit | 29647c483658f1e3d2e0ec9ad64ebd23edeecdf5 (patch) | |
tree | 0b5c4eb79c580d6717a6647faea3d52af55f03c4 /drivers/tty | |
parent | f8032cb4f574c0de5ac1d65d61e972957e6f1631 (diff) |
serial: SERIAL_MXS_AUART should depend on HAS_DMA
If NO_DMA=y:
ERROR: "dma_unmap_sg" [drivers/tty/serial/mxs-auart.ko] undefined!
ERROR: "dma_map_sg" [drivers/tty/serial/mxs-auart.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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 1ec4764f9b05..f0bbedf61cae 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig | |||
@@ -1411,8 +1411,9 @@ config SERIAL_PCH_UART_CONSOLE | |||
1411 | warnings and which allows logins in single user mode). | 1411 | warnings and which allows logins in single user mode). |
1412 | 1412 | ||
1413 | config SERIAL_MXS_AUART | 1413 | config SERIAL_MXS_AUART |
1414 | depends on ARCH_MXS || COMPILE_TEST | ||
1415 | tristate "MXS AUART support" | 1414 | tristate "MXS AUART support" |
1415 | depends on HAS_DMA | ||
1416 | depends on ARCH_MXS || COMPILE_TEST | ||
1416 | select SERIAL_CORE | 1417 | select SERIAL_CORE |
1417 | select SERIAL_MCTRL_GPIO if GPIOLIB | 1418 | select SERIAL_MCTRL_GPIO if GPIOLIB |
1418 | help | 1419 | help |