Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3826146imm; Sat, 21 Jul 2018 04:11:32 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdxZfBJkEyRzIIuB7udZKT0MpldWUeJnZhhl8ytP/JjuiydccwfrydoGGPbyM4Wit9XXl/f X-Received: by 2002:a17:902:70cc:: with SMTP id l12-v6mr5523811plt.132.1532171492696; Sat, 21 Jul 2018 04:11:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532171492; cv=none; d=google.com; s=arc-20160816; b=i6htizNayJJg8KUslY1j3eQagVyoFxigfmE3tpZrppg3cOiOQEVjpR9hNpKQjjceOb W02oeTQw2/amYaZxtgVljJhmzzVO4E49a6e0WjRgRq/lBYY0odFG6hgP5nd0eBepXut+ Tka/4mPu5PCvDMcT/ogMEWx9sFTToKwf87FjJpNXsln7xoU5nNi+kf5A9WZ4yq2Xaqnp da8QozMq/etxyZ0BkJ+Tqp3U4D9rjQpheRJ13NcQsXLemwVw7XMrwpX3qXK1DDbTDwzB DC0kk4tNy5izKOKgl01P9FIrA66TsAtY05FiVeiqaTUQ9gpRKdjumdirvg2zMiubpJXS fV7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=bE0vvUwcJ+k4MJ0F2Nosy8Wuttf+35laQSRhvFaEo+E=; b=J52GD72bUesYcdE3xl+6YhbwjoBvR5MPPmSuh8ABXJrI9Om/A5oGPzNib/pjIOUIIB G6QYOeHRXAPXcRLH1HpiU0N25qXLpO0aJ85r15zZueiZeGvsFzQwj5B1pv79YQ7teunH 0uoDzaOZws20mRngvVulUeu1q+OMXcScpld/Ig/Cf3tuGrXejiJPGZzwmp50dtWAY/cR aTZChK7l5JF6UJmDj2Zfo6VYrUfqpbY9Y3x8MgCc5ty/KGPY889AFD+XYytcOsLDAiZ/ sPwqW/KrWHLmIpN4+y6KLTEkx1YJNIQyNf6PrHFKKJvRTJ8Kf3FB0lOQAFrlb+TmFaoo TaOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=b7p8bRVj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f3-v6si3563952plr.214.2018.07.21.04.11.18; Sat, 21 Jul 2018 04:11:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=b7p8bRVj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728159AbeGUMAG (ORCPT + 99 others); Sat, 21 Jul 2018 08:00:06 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:43548 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727972AbeGUMAG (ORCPT ); Sat, 21 Jul 2018 08:00:06 -0400 From: Paul Cercueil To: Vinod Koul , Rob Herring , Mark Rutland , Ralf Baechle , Paul Burton , James Hogan , Zubair Lutfullah Kakakhel Cc: Mathieu Malaterre , Daniel Silsby , Paul Cercueil , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org Subject: [PATCH v3 06/18] dmaengine: dma-jz4780: Don't depend on MACH_JZ4780 Date: Sat, 21 Jul 2018 13:06:31 +0200 Message-Id: <20180721110643.19624-7-paul@crapouillou.net> In-Reply-To: <20180721110643.19624-1-paul@crapouillou.net> References: <20180721110643.19624-1-paul@crapouillou.net> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1532171264; bh=bE0vvUwcJ+k4MJ0F2Nosy8Wuttf+35laQSRhvFaEo+E=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=b7p8bRVjpxeI7P/TvLA1XrWC+FPpi0AVwNq59Z+FqHi4GIMmukLtoOEtQp4HQCtJ4chdwRwCrPfOP91JcAWarFZlzRtGJfLBc5Gd9Qv2XgQFBlYgH6Ac4aAI9nJcMTZKFCG4+AAkOFw0Z9B5XdkjapLvjfRTpVJiwn3hNNwAbW4= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org If we make this driver depend on MACH_JZ4780, that means it can be enabled only if we're building a kernel specially crafted for a JZ4780-based board, while most GNU/Linux distributions will want one generic MIPS kernel that works on multiple boards. Signed-off-by: Paul Cercueil --- drivers/dma/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) v3: New patch diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index ca1680afa20a..0680e1eb0d73 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -143,7 +143,7 @@ config DMA_JZ4740 config DMA_JZ4780 tristate "JZ4780 DMA support" - depends on MACH_JZ4780 || COMPILE_TEST + depends on MIPS || COMPILE_TEST select DMA_ENGINE select DMA_VIRTUAL_CHANNELS help -- 2.11.0