Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Geert Uytterhoeven and committed by
Vinod Koul
cd90f69f e5bfbbb9

+2 -1
+2 -1
drivers/dma/lgm/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 config INTEL_LDMA 3 3 bool "Lightning Mountain centralized DMA controllers" 4 + depends on X86 || COMPILE_TEST 4 5 select DMA_ENGINE 5 6 select DMA_VIRTUAL_CHANNELS 6 7 help 7 - Enable support for intel Lightning Mountain SOC DMA controllers. 8 + Enable support for Intel Lightning Mountain SOC DMA controllers. 8 9 These controllers provide DMA capabilities for a variety of on-chip 9 10 devices such as HSNAND and GSWIP (Gigabit Switch IP).