Received: by 10.213.65.68 with SMTP id h4csp444259imn; Fri, 16 Mar 2018 07:59:36 -0700 (PDT) X-Google-Smtp-Source: AG47ELu/Bi/frnmRl2h9jsFqyfTKMLfxy8UaFvYJvi7B4YJIugzWFDwikaLkeuggZQyYdgEaRfh6 X-Received: by 10.99.173.71 with SMTP id y7mr1694682pgo.432.1521212375949; Fri, 16 Mar 2018 07:59:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521212375; cv=none; d=google.com; s=arc-20160816; b=EBMEqAlUygtKzMfLw4j2p2fQcp4YhXKNYuYlHqM7sBGhPsXroOvGkOZ/xlfK1Xbs70 Uyp3C9Bs/GLN2kzA5em12bO+80hYTrr+10R5FPjMEzMcXqYW+LjC1AQcclYGYnod42rQ KlhtUgt2yYUPmh+yAEEqgNFjTzWtFSu7qSOPrMSXjaX9EWHlNBryeXFaWJ02QkP1Ts8f O/FTVaYJg5BMMpJx6hDhzUEEP4tPqoFPssTuANhAqRDCFrsmjP2rpS7RjUxQ/FaEYs91 kvMSKBIA2rR3LJZFEXA6Jtk7PacP5bb0bMrAoFy5927DXcz7TEEcxuExs4sktWB8Ulpc GyDw== 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=K16YTWEsxI/Vlb6DSulO955Gf6EJ2EfE42lAJJTNitY=; b=WB4gomAQSp+dgFolfhjRrUJoolyMFjsSoRI+2WOm7lSqnW47rqeb4S8hXsY1lcDaQZ tf35icGkDRk5mIyDGFD8blsau8D34hikaX69PiEFKLbMjlxacD9v5P+shjL7GCD2np5B JL6bvnxykMezhm64gFsjSSsR7eKzX0IfxbJkYrTaOa3HGLzk8j6x9psfYkDbkOEw38uq h17W3PQsWVg8UY4e6s43FaJjF8UxDyXTxdvXLposfvqkdAfQrtcoXNsnGPBTcuxbukmW xk/cWnayxCWSdR6/V8bHocRQKelbQ7dUZ4l7j2i61iUgy6XQ673OKQmRAartm7nr8Rtl 7KJw== 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 a34-v6si6433303pld.8.2018.03.16.07.59.21; Fri, 16 Mar 2018 07:59:35 -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 S1754034AbeCPO6O (ORCPT + 99 others); Fri, 16 Mar 2018 10:58:14 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:48510 "EHLO andre.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752306AbeCPOui (ORCPT ); Fri, 16 Mar 2018 10:50:38 -0400 Received: from ayla.of.borg ([84.194.111.163]) by andre.telenet-ops.be with bizsmtp id Nepk1x00b3XaVaC01epky0; Fri, 16 Mar 2018 15:50:36 +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-0000Qp-OR; Fri, 16 Mar 2018 14:51:57 +0100 Received: from geert by ramsan with local (Exim 4.86_2) (envelope-from ) id 1ewpm1-0001HV-CB; Fri, 16 Mar 2018 14:51:57 +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 16/21] remoteproc: Remove depends on HAS_DMA in case of platform dependency Date: Fri, 16 Mar 2018 14:51:49 +0100 Message-Id: <1521208314-4783-17-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/remoteproc/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig index b609e1d3654ba65f..b60d8132113de0f7 100644 --- a/drivers/remoteproc/Kconfig +++ b/drivers/remoteproc/Kconfig @@ -23,7 +23,6 @@ config IMX_REMOTEPROC config OMAP_REMOTEPROC tristate "OMAP remoteproc support" - depends on HAS_DMA depends on ARCH_OMAP4 || SOC_OMAP5 depends on OMAP_IOMMU select MAILBOX -- 2.7.4