Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1265486
| From | Geert Uytterhoeven <geert@linux-m68k.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/3] serial: SERIAL_MXS_AUART should depend on HAS_DMA |
| Date | 2015-11-09 10:40 +0100 |
| Message-ID | <qsR5E-4AF-33@gated-at.bofh.it> (permalink) |
| References | <qsR5D-4AF-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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>
---
drivers/tty/serial/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 67b6d8d47d776b7b..29040e88bd6898a3 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1411,8 +1411,9 @@ config SERIAL_PCH_UART_CONSOLE
warnings and which allows logins in single user mode).
config SERIAL_MXS_AUART
- depends on ARCH_MXS || COMPILE_TEST
tristate "MXS AUART support"
+ depends on HAS_DMA
+ depends on ARCH_MXS || COMPILE_TEST
select SERIAL_CORE
select SERIAL_MCTRL_GPIO if GPIOLIB
help
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/3] serial: SERIAL_ATMEL should depend on HAS_DMA Geert Uytterhoeven <geert@linux-m68k.org> - 2015-11-09 10:40 +0100 [PATCH 2/3] serial: SERIAL_IMX_AUART should depend on HAS_DMA Geert Uytterhoeven <geert@linux-m68k.org> - 2015-11-09 10:40 +0100 [PATCH 3/3] serial: SERIAL_MXS_AUART should depend on HAS_DMA Geert Uytterhoeven <geert@linux-m68k.org> - 2015-11-09 10:40 +0100 Re: [PATCH 1/3] serial: SERIAL_ATMEL should depend on HAS_DMA Uwe Kleine-König <u.kleine-koenig@pengutronix.de> - 2015-11-09 10:50 +0100
csiph-web