diff mbox

[RFC,5/7] Kconfig: Allow k3dma driver to be selected for more then HISI3xx platforms

Message ID 1468635207-20065-6-git-send-email-john.stultz@linaro.org
State Superseded
Headers show

Commit Message

John Stultz July 16, 2016, 2:13 a.m. UTC
This allows the k3dma driver to be selected on HiKey

Cc: Zhangfei Gao <zhangfei.gao@linaro.org>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.com>
Cc: Wei Xu <xuwei5@hisilicon.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Andy Green <andy@warmcat.com>
Cc: Dave Long <dave.long@linaro.org>
Cc: Guodong Xu <guodong.xu@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>

---
 drivers/dma/Kconfig | 1 -
 1 file changed, 1 deletion(-)

-- 
1.9.1

Comments

Mark Brown July 16, 2016, 11:18 a.m. UTC | #1
On Fri, Jul 15, 2016 at 07:13:25PM -0700, John Stultz wrote:

> This allows the k3dma driver to be selected on HiKey


>  config K3_DMA

>  	tristate "Hisilicon K3 DMA support"

> -	depends on ARCH_HI3xxx

>  	select DMA_ENGINE

>  	select DMA_VIRTUAL_CHANNELS

>  	help


And *every* other platform ever.  You probably want 

	ARCH_HI3xxx || ARCH_HISI || COMPILE_TEST

here.
diff mbox

Patch

diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 8c98779..c5a230d 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -279,7 +279,6 @@  config INTEL_MIC_X100_DMA
 
 config K3_DMA
 	tristate "Hisilicon K3 DMA support"
-	depends on ARCH_HI3xxx
 	select DMA_ENGINE
 	select DMA_VIRTUAL_CHANNELS
 	help