diff mbox

dmaengine: Make X-Gene driver depend on ARCH_XGENE

Message ID 20150427123241.GD23730@hansolo.redhat.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Josh Boyer April 27, 2015, 12:33 p.m. UTC
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(+)

Comments

Vinod Koul May 4, 2015, 8:27 a.m. UTC | #1
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>
Josh Boyer May 4, 2015, 3:02 p.m. UTC | #2
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
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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