diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-14 14:18:54 +0200 |
---|---|---|
committer | Rich Felker <dalias@libc.org> | 2020-08-15 04:05:17 +0200 |
commit | 846f9e1fb9b9a2c4eecefa2fdbfb51e975a7d532 (patch) | |
tree | 13a44920847bb05fcf29e12f60d79b2b45dd9583 /kernel/dma/Kconfig | |
parent | sh: unexport register_trapped_io and match_trapped_io_handler (diff) | |
download | linux-846f9e1fb9b9a2c4eecefa2fdbfb51e975a7d532.tar.xz linux-846f9e1fb9b9a2c4eecefa2fdbfb51e975a7d532.zip |
dma-mapping: consolidate the NO_DMA definition in kernel/dma/Kconfig
Have a single definition that architetures can select.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to '')
-rw-r--r-- | kernel/dma/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/dma/Kconfig b/kernel/dma/Kconfig index 1da3f44f2565..57533d07676f 100644 --- a/kernel/dma/Kconfig +++ b/kernel/dma/Kconfig @@ -1,5 +1,8 @@ # SPDX-License-Identifier: GPL-2.0-only +config NO_DMA + bool + config HAS_DMA bool depends on !NO_DMA |