From patchwork Wed Aug 6 14:35:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 4688721 X-Patchwork-Delegate: vinod.koul@intel.com 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8AB3B9F462 for ; Wed, 6 Aug 2014 22:00:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BC2A220145 for ; Wed, 6 Aug 2014 22:00:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C08A3200E9 for ; Wed, 6 Aug 2014 22:00:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753589AbaHFWA0 (ORCPT ); Wed, 6 Aug 2014 18:00:26 -0400 Received: from mout.gmx.net ([212.227.17.21]:49457 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751908AbaHFWAZ (ORCPT ); Wed, 6 Aug 2014 18:00:25 -0400 Received: from axis700.grange ([85.197.55.20]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MPppG-1XJ18P0Dek-00514A; Thu, 07 Aug 2014 00:00:23 +0200 Received: by axis700.grange (Postfix, from userid 1000) id E405840BEF; Wed, 6 Aug 2014 16:35:41 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by axis700.grange (Postfix) with ESMTP id DBA8640BED; Wed, 6 Aug 2014 16:35:41 +0200 (CEST) Date: Wed, 6 Aug 2014 16:35:41 +0200 (CEST) From: Guennadi Liakhovetski X-X-Sender: lyakh@axis700.grange To: dmaengine@vger.kernel.org cc: "Koul, Vinod" Subject: [PATCH] dmaengine: nbpfaxi: don't build this driver where it cannot be used Message-ID: MIME-Version: 1.0 X-Provags-ID: V03:K0:6iA79Arpqdi2d8aBCRIUJZBY39a45egVrnP+bMU/EQswrHmQb5f 9QjCwp85OqzQ3DIhIrUJypCrPgFpUZ3qQjEJERxd7Li9hu2p3nSF6hIbKAMf1YGUeARxrHi eUv1JFmnYkvh3SgiznpZirc+QmLQm5fmoh2MvdRLuGbh69PgFCYr/9WwcV9umAUZ39iaI0/ A1hk0wDi8HYT70SEGuIow== X-UI-Out-Filterresults: notjunk:1; Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Although this driver doesn't have any explicit compile-time architecture dependencies, it is better not to bloat kernels on those platforms, where this driver isn't needed, unless a compile test is being performed. Signed-off-by: Guennadi Liakhovetski --- I'm not sure how distros create their default kernel configurations, but maybe you're right and it's better to not bloat kernels needlessly. Otherwise this patch is optional. drivers/dma/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 901818c..6c3692d 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -386,6 +386,7 @@ config DMA_SUN6I config NBPFAXI_DMA tristate "Renesas Type-AXI NBPF DMA support" select DMA_ENGINE + depends on ARM || COMPILE_TEST help Support for "Type-AXI" NBPF DMA IPs from Renesas