From patchwork Sun Apr 26 10:52:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 6275591 Return-Path: X-Original-To: patchwork-dmaengine@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 43A339F1C4 for ; Sun, 26 Apr 2015 10:52:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6C106203A5 for ; Sun, 26 Apr 2015 10:52:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 717F82039C for ; Sun, 26 Apr 2015 10:52:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751774AbbDZKwH (ORCPT ); Sun, 26 Apr 2015 06:52:07 -0400 Received: from cantor2.suse.de ([195.135.220.15]:52647 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751574AbbDZKwG (ORCPT ); Sun, 26 Apr 2015 06:52:06 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id A0C8BAC87; Sun, 26 Apr 2015 10:52:04 +0000 (UTC) Date: Sun, 26 Apr 2015 12:52:02 +0200 From: Jean Delvare To: dmaengine@vger.kernel.org Cc: Rameshwar Prasad Sahu , Loc Ho , Vinod Koul Subject: [PATCH] dmaengine: xgene: Set hardware dependency Message-ID: <20150426125202.6efa3d26@endymion.delvare> Organization: SUSE Linux X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.23; x86_64-suse-linux-gnu) MIME-Version: 1.0 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The xgene-dma driver is only useful on X-Gene SoC. Signed-off-by: Jean Delvare Cc: Rameshwar Prasad Sahu Cc: Loc Ho Cc: Vinod Koul --- drivers/dma/Kconfig | 1 + 1 file changed, 1 insertion(+) --- linux-4.1-rc0.orig/drivers/dma/Kconfig 2015-04-26 12:37:26.220977724 +0200 +++ linux-4.1-rc0/drivers/dma/Kconfig 2015-04-26 12:44:40.620920769 +0200 @@ -437,6 +437,7 @@ config IMG_MDC_DMA config XGENE_DMA tristate "APM X-Gene DMA support" + depends on ARCH_XGENE || COMPILE_TEST select DMA_ENGINE select DMA_ENGINE_RAID select ASYNC_TX_ENABLE_CHANNEL_SWITCH