Received: by 10.213.65.68 with SMTP id h4csp413331imn; Fri, 16 Mar 2018 07:04:55 -0700 (PDT) X-Google-Smtp-Source: AG47ELvChgLSx944Ats5AoRwNeSzb1AwM5eIunhc2TorpX87gjvd1k8gKRT8ACZC5eBs/7USHKsP X-Received: by 2002:a17:902:7482:: with SMTP id h2-v6mr2334535pll.264.1521209095433; Fri, 16 Mar 2018 07:04:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521209095; cv=none; d=google.com; s=arc-20160816; b=i6CHt3/t9+/LdsKHTIBMdMSbbAFEE9bhf1bd/OD4XSXxgtpVdXZw6ZeO3FZFdbLZZY LdNRN5GPnVZ9f90U97WY64OcEcqb0gnk+bnRmhtPRibaVQswsZCWyicCO+zQD1uiBEyv +aq8orfr7RvpTOxndq5AudZ22xX1JBEgsQMqwwQDutAXOqr5DvFlkNM6BUW2kS5b6Opb RkCD/inW9FoiwvcCUnbCAqHBcmo7+nSvgOq/O9trIhg2tKryLsCUgF02nBAEvlAkVh/4 dJqyiANJcSoVKd30Is3VFvuuwSs+rxKG4mIPEYlH2rmd0Nc9RbAwmq/IOoXP0DOvmWYD Fs8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=V5XC5uwXlUxPBIwRJIcCCen6rH00rP6D7aDihmVczuA=; b=rMmZ6Rtm6WMXrDR8SjgblAk2Cck35wbUv3U0wvm1as+vGE31E5sQYfeiXLoTTFvnrt 0pcqssUBDr3L9TvC+igZs4psYZd/6B35aQ0QvQoFVj7KcmGlu3/j7YB1DH775VyD2YYR vNq3Niv9nFlNWUnFqBjucIyV/cns+iFEoCv1INWagahTkKsuy3kWNkx6yQ+PuGT9mFOB Juo3q6JTNq6OMzZ+YGZoMHNxzKbep+KKiONtziR7LaC3NuYirZtqi2gHDX/xZiCzHWxH jM/OXJ1GyTH5Pz+vIOo1Zyr6i9k5oPhHgp9tKR/Nr3yQd9EQr3Hw/WfEKoewrV+eTqeh QWfA== 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 p9si5525869pff.235.2018.03.16.07.04.40; Fri, 16 Mar 2018 07:04:55 -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; 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 S1752635AbeCPOCD (ORCPT + 99 others); Fri, 16 Mar 2018 10:02:03 -0400 Received: from leibniz.telenet-ops.be ([195.130.137.77]:36746 "EHLO leibniz.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752348AbeCPOB7 (ORCPT ); Fri, 16 Mar 2018 10:01:59 -0400 Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by leibniz.telenet-ops.be (Postfix) with ESMTPS id 402n392s9GzMqdqr for ; Fri, 16 Mar 2018 14:52:53 +0100 (CET) Received: from ayla.of.borg ([84.194.111.163]) by andre.telenet-ops.be with bizsmtp id Ndrx1x00L3XaVaC01drxfK; Fri, 16 Mar 2018 14:52:52 +0100 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.86_2) (envelope-from ) id 1ewpm1-0000QB-4L; Fri, 16 Mar 2018 14:51:57 +0100 Received: from geert by ramsan with local (Exim 4.86_2) (envelope-from ) id 1ewpm0-0001Gd-Tx; Fri, 16 Mar 2018 14:51:56 +0100 From: Geert Uytterhoeven To: Christoph Hellwig , Marek Szyprowski , Robin Murphy , Felipe Balbi , Greg Kroah-Hartman , "James E . J . Bottomley" , "Martin K . Petersen" , Andrew Morton , Mark Brown , Liam Girdwood , Tejun Heo , Herbert Xu , "David S . Miller" , Bartlomiej Zolnierkiewicz , Stefan Richter , Alan Tull , Moritz Fischer , Wolfram Sang , Jonathan Cameron , Joerg Roedel , Matias Bjorling , Jassi Brar , Mauro Carvalho Chehab , Ulf Hansson , David Woodhouse , Brian Norris , Marek Vasut , Cyrille Pitchen , Boris Brezillon , Richard Weinberger , Kalle Valo , Ohad Ben-Cohen , Bjorn Andersson , Eric Anholt , Stefan Wahren Cc: iommu@lists.linux-foundation.org, linux-usb@vger.kernel.org, linux-scsi@vger.kernel.org, alsa-devel@alsa-project.org, linux-ide@vger.kernel.org, linux-crypto@vger.kernel.org, linux-fbdev@vger.kernel.org, linux1394-devel@lists.sourceforge.net, linux-fpga@vger.kernel.org, linux-i2c@vger.kernel.org, linux-iio@vger.kernel.org, linux-block@vger.kernel.org, linux-media@vger.kernel.org, linux-mmc@vger.kernel.org, linux-mtd@lists.infradead.org, netdev@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-serial@vger.kernel.org, linux-spi@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2 05/21] firewire: Remove depends on HAS_DMA in case of platform dependency Date: Fri, 16 Mar 2018 14:51:38 +0100 Message-Id: <1521208314-4783-6-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1521208314-4783-1-git-send-email-geert@linux-m68k.org> References: <1521208314-4783-1-git-send-email-geert@linux-m68k.org> 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 --- 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.7.4