diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-14 14:18:54 +0200 |
---|---|---|
committer | Rich Felker <dalias@libc.org> | 2020-08-14 22:05:17 -0400 |
commit | 846f9e1fb9b9a2c4eecefa2fdbfb51e975a7d532 (patch) | |
tree | 13a44920847bb05fcf29e12f60d79b2b45dd9583 /kernel/dma | |
parent | bc0f46b1caff2a42ce6e54b31504eb9ecc789f2a (diff) |
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 'kernel/dma')
-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 |