diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2021-01-29 14:17:02 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-02-01 11:27:14 +0530 |
commit | cd90f69f597a44b1e193267fa53798e9a5ae2794 (patch) | |
tree | a1cc7cb405238e64c125759359ed723348f2b593 /drivers/dma/lgm | |
parent | e5bfbbb916a43a80801458e10369cf02229278eb (diff) |
dmaengine: INTEL_LDMA should depend on X86
The Intel Lightning Mountain (LGM) DMA controller is only present on
Intel Lightning Mountain SoCs. Hence add a dependency on X86, to
prevent asking the user about this driver when configuring a kernel
without Intel Lightning Mountain platform support.
While at it, fix a misspelling of "Intel".
Fixes: 32d31c79a1a4fbc4 ("dmaengine: Add Intel LGM SoC DMA support.")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20210129131702.2656060-1-geert+renesas@glider.be
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/lgm')
-rw-r--r-- | drivers/dma/lgm/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dma/lgm/Kconfig b/drivers/dma/lgm/Kconfig index 0df323d86d4b..9194330ed0f2 100644 --- a/drivers/dma/lgm/Kconfig +++ b/drivers/dma/lgm/Kconfig @@ -1,9 +1,10 @@ # SPDX-License-Identifier: GPL-2.0-only config INTEL_LDMA bool "Lightning Mountain centralized DMA controllers" + depends on X86 || COMPILE_TEST select DMA_ENGINE select DMA_VIRTUAL_CHANNELS help - Enable support for intel Lightning Mountain SOC DMA controllers. + Enable support for Intel Lightning Mountain SOC DMA controllers. These controllers provide DMA capabilities for a variety of on-chip devices such as HSNAND and GSWIP (Gigabit Switch IP). |