linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dmaengine: Make X-Gene driver depend on ARCH_XGENE
@ 2015-04-27 12:33 Josh Boyer
  2015-05-04  8:27 ` Vinod Koul
  0 siblings, 1 reply; 3+ messages in thread
From: Josh Boyer @ 2015-04-27 12:33 UTC (permalink / raw)
  To: Rameshwar Prasad Sahu, Loc Ho, Vinod Koul; +Cc: dmaengine, linux-kernel

The driver is specific to the APM X-Gene SoC.  Make it depend on that
arch so that users are not unnecessarily prompted about it.

Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
---
 drivers/dma/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index fd7ac13f2574..297ce56550dd 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -437,6 +437,7 @@ config IMG_MDC_DMA
 
 config XGENE_DMA
 	tristate "APM X-Gene DMA support"
+	depends on ARCH_XGENE
 	select DMA_ENGINE
 	select DMA_ENGINE_RAID
 	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dmaengine: Make X-Gene driver depend on ARCH_XGENE
  2015-04-27 12:33 [PATCH] dmaengine: Make X-Gene driver depend on ARCH_XGENE Josh Boyer
@ 2015-05-04  8:27 ` Vinod Koul
  2015-05-04 15:02   ` Josh Boyer
  0 siblings, 1 reply; 3+ messages in thread
From: Vinod Koul @ 2015-05-04  8:27 UTC (permalink / raw)
  To: Josh Boyer; +Cc: Rameshwar Prasad Sahu, Loc Ho, dmaengine, linux-kernel

On Mon, Apr 27, 2015 at 08:33:14AM -0400, Josh Boyer wrote:
> The driver is specific to the APM X-Gene SoC.  Make it depend on that
> arch so that users are not unnecessarily prompted about it.
Hi Josh,

I have already applied a patch from jean for this

commit 801661467fd50832191c81665d061ffabcc1c5de
Author: Jean Delvare <jdelvare@suse.de>
Date:   Sun Apr 26 12:52:02 2015 +0200

    dmaengine: xgene: Set hardware dependency

    The xgene-dma driver is only useful on X-Gene SoC.

    Signed-off-by: Jean Delvare <jdelvare@suse.de>
    Cc: Rameshwar Prasad Sahu <rsahu@apm.com>
    Cc: Loc Ho <lho@apm.com>
    Cc: Vinod Koul <vinod.koul@intel.com>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>

-- 
~Vinod


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dmaengine: Make X-Gene driver depend on ARCH_XGENE
  2015-05-04  8:27 ` Vinod Koul
@ 2015-05-04 15:02   ` Josh Boyer
  0 siblings, 0 replies; 3+ messages in thread
From: Josh Boyer @ 2015-05-04 15:02 UTC (permalink / raw)
  To: Vinod Koul
  Cc: Rameshwar Prasad Sahu, Loc Ho, dmaengine, Linux-Kernel@Vger. Kernel. Org

On Mon, May 4, 2015 at 4:27 AM, Vinod Koul <vinod.koul@intel.com> wrote:
> On Mon, Apr 27, 2015 at 08:33:14AM -0400, Josh Boyer wrote:
>> The driver is specific to the APM X-Gene SoC.  Make it depend on that
>> arch so that users are not unnecessarily prompted about it.
> Hi Josh,
>
> I have already applied a patch from jean for this
>
> commit 801661467fd50832191c81665d061ffabcc1c5de
> Author: Jean Delvare <jdelvare@suse.de>
> Date:   Sun Apr 26 12:52:02 2015 +0200
>
>     dmaengine: xgene: Set hardware dependency
>
>     The xgene-dma driver is only useful on X-Gene SoC.
>
>     Signed-off-by: Jean Delvare <jdelvare@suse.de>
>     Cc: Rameshwar Prasad Sahu <rsahu@apm.com>
>     Cc: Loc Ho <lho@apm.com>
>     Cc: Vinod Koul <vinod.koul@intel.com>
>     Signed-off-by: Vinod Koul <vinod.koul@intel.com>

Great, thanks.

josh

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-04 15:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-27 12:33 [PATCH] dmaengine: Make X-Gene driver depend on ARCH_XGENE Josh Boyer
2015-05-04  8:27 ` Vinod Koul
2015-05-04 15:02   ` Josh Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).