Browse Source

dma: pch_dma: Fix Kconfig dependencies

The pch_dma driver is for a companion chip to the Intel Atom E600
series processors. These are 32-bit x86 processors so the driver is
only needed on X86_32. Add COMPILE_TEST as an alternative, so that the
driver can still be build-tested elsewhere.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Jean Delvare 11 years ago
parent
commit
4828b49369
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/dma/Kconfig

+ 1 - 1
drivers/dma/Kconfig

@@ -234,7 +234,7 @@ config PL330_DMA
 
 
 config PCH_DMA
 config PCH_DMA
 	tristate "Intel EG20T PCH / LAPIS Semicon IOH(ML7213/ML7223/ML7831) DMA"
 	tristate "Intel EG20T PCH / LAPIS Semicon IOH(ML7213/ML7223/ML7831) DMA"
-	depends on PCI && X86
+	depends on PCI && (X86_32 || COMPILE_TEST)
 	select DMA_ENGINE
 	select DMA_ENGINE
 	help
 	help
 	  Enable support for Intel EG20T PCH DMA engine.
 	  Enable support for Intel EG20T PCH DMA engine.