Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6881582imu; Mon, 3 Dec 2018 04:29:18 -0800 (PST) X-Google-Smtp-Source: AFSGD/Ud8BbL5/1WDGogyE2UaOyQSvkENf4/i/juH657W3xs2krlemEfmRPZ6S69cta/dGymWObj X-Received: by 2002:a62:1d4c:: with SMTP id d73mr15844635pfd.90.1543840158651; Mon, 03 Dec 2018 04:29:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543840158; cv=none; d=google.com; s=arc-20160816; b=BfLsFhTkQAJlPDQjADXEmtMAtDLsUi4LvqWjiGAadd8Oj75Lj6CVN8aFAh5R0m/XQi iZh0uxJfYmtC9LPaDMdNZC0ET9MS0tSfR7q2CsJgoAfLPJLCx7H1k2ZgViWJmCdhgcev f9J9J8mKfL1hJx9xSev2WvDIE8Y7LPXC3+NHkWKK758pQEn3UacGOQnPpSlQ9mYG5/oi yVre3m1/YPAy6c/4H4dxPunJU4XwyOUL9HGNAipzwnDfO/T1fl0KrKIzxrK4EBFB9h7J /dp7jgIowQHLNm+Vj83e2S/iS8LEJ+Unttnvu/v5WaRRxT6iwj0nWGbt9YBLSbo2t2VS AI7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=hoIOCiUSh5tD9HlWRwMVJB8+1/fiERPRcHxxjO1S4Oc=; b=v1zo/ykeLXTupwSl09KKfz/95QTMwpet8d9lAFsjeO0H7YsmzdkixLJfwQDiO0PAAW V1SWnDkIh/RlOk207zzDF1eenqb2QgpxLjg29VHkA+1jK67az6lmmK8oJZCHSQUXhxKi fWWswU/Acafpo7aJshbhOWY/q51jU9JpyzZt/tu59Crl3ckjtS5YzTY6Ug7RfVc4YJ0Y cdHEOznFIQMhlyg05IkU5ZPwP7zJpR6lSLPTWb2fpMcJ/qbCPCdEAlsa/o9WE+7C16C6 Gv5Iezhj+l4+JTfvpAzEOjw3KFsw0vp7fq0lDq7ovPeSPAakqMowyBtH9dAUyrXWIjN/ 5w9g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g2si12407029pgk.497.2018.12.03.04.29.03; Mon, 03 Dec 2018 04:29:18 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726416AbeLCM2F (ORCPT + 99 others); Mon, 3 Dec 2018 07:28:05 -0500 Received: from laurent.telenet-ops.be ([195.130.137.89]:43242 "EHLO laurent.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726163AbeLCM2F (ORCPT ); Mon, 3 Dec 2018 07:28:05 -0500 Received: from ramsan ([84.194.111.163]) by laurent.telenet-ops.be with bizsmtp id 7QTD1z00o3XaVaC01QTDei; Mon, 03 Dec 2018 13:27:13 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1gTnJh-0003BH-L9; Mon, 03 Dec 2018 13:27:13 +0100 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1gTnJh-0003KR-JP; Mon, 03 Dec 2018 13:27:13 +0100 From: Geert Uytterhoeven To: Stefan Richter Cc: linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v4 resend] firewire: Remove depends on HAS_DMA in case of platform dependency Date: Mon, 3 Dec 2018 13:27:12 +0100 Message-Id: <20181203122712.12751-1-geert@linux-m68k.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove dependencies on HAS_DMA where a Kconfig symbol depends on another symbol that implies HAS_DMA, and, optionally, on "|| COMPILE_TEST". In most cases this other symbol is an architecture or platform specific symbol, or PCI. Generic symbols and drivers without platform dependencies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven Reviewed-by: Mark Brown Acked-by: Robin Murphy --- v4: - Rebase to v4.18-rc1 (applies to next-20180622, too), v3: - Rebase to v4.17-rc1, v2: - Add Reviewed-by, Acked-by, - Drop RFC state, - Split per subsystem. --- drivers/firewire/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/firewire/Kconfig b/drivers/firewire/Kconfig index 145974f9662b63e6..4199849e37585181 100644 --- a/drivers/firewire/Kconfig +++ b/drivers/firewire/Kconfig @@ -1,5 +1,4 @@ menu "IEEE 1394 (FireWire) support" - depends on HAS_DMA depends on PCI || COMPILE_TEST # firewire-core does not depend on PCI but is # not useful without PCI controller driver -- 2.17.1