Received: by 10.213.65.68 with SMTP id h4csp416703imn; Fri, 16 Mar 2018 07:10:09 -0700 (PDT) X-Google-Smtp-Source: AG47ELtT6ZPXJJf6nCp/dIQU7Z06z5/L4ibQ3ONCw1Z0DHgE34GQU0YOdlMovvE6UHWBPO0ACXfB X-Received: by 10.99.110.137 with SMTP id j131mr1584504pgc.85.1521209409583; Fri, 16 Mar 2018 07:10:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521209409; cv=none; d=google.com; s=arc-20160816; b=RLdXlEz/SI7MQ0qPlGcXmCFDXZeLA4mm9TT/sm2NlBjUVESMzK8qk6gsLu7B3qc0N5 tAI8EBEMcJ+iobG109HN1kVWPI3U2ebqaT+hlPsxoNc4vULJtv+E/bPfKVkVJeIGPpVx MQ2VTKDeG18q3smaK6Gzoc719aoN0cJTw3hJhbzkdlJifBFypZuZNT1CK9GI1NfB5Cet ZTce3ybnKNRMQJ7zmynMCt2Qcnngws8YGlFK4oNWf0g0jjCkmsSygSnfJ60ThJj2Pa/C ywSJOpcFJO3AYY39rdpWP8Kfil/ilBXh24VmF/M/T2jhJYQ+8BtDaD9dUmjtlcRG1lmU mT8g== 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=GznvkEnDKo//kC+AQ7jUmmtEihD0g3JT2nu0Fs2gMRo=; b=wkSJmBWDNF5FoCn1RF8ilGOgP62eWvWyn6MtbV2kA5rwcaN1NR6dAs3L670XPRPxlQ eMEAkfMXV18msG+skwYNe/5RUlyy5hjNCRHL5sTdsMBA8qrM3KRet7yg3nadF7BUL1DN AWBIRwDZDpa7P15IyGvKDxIuXx/B1XCq2Zuw798QSynslB3gcvv6ZO7lisgbrPh2vfzZ 7VgCRwNS/Wqx1P8iIuZRW4OxglO+BVEpv6+wWX9QiXa2T/ZCOlOQ15Ul8w4RuKwiVJjD i1UlUnoY1HS/G02skMw1baVHk93GKZmfTXmPglNQUujnXH0d7dRe0veEh8ICcAkNW57t gHgA== 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 o15si5141567pgd.23.2018.03.16.07.09.55; Fri, 16 Mar 2018 07:10:09 -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 S1752841AbeCPOIW (ORCPT + 99 others); Fri, 16 Mar 2018 10:08:22 -0400 Received: from newton.telenet-ops.be ([195.130.132.45]:46114 "EHLO newton.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752130AbeCPOBf (ORCPT ); Fri, 16 Mar 2018 10:01:35 -0400 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by newton.telenet-ops.be (Postfix) with ESMTPS id 402n390D9zzMqxYW for ; Fri, 16 Mar 2018 14:52:53 +0100 (CET) Received: from ayla.of.borg ([84.194.111.163]) by baptiste.telenet-ops.be with bizsmtp id Ndry1x0033XaVaC01dryxr; 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-0000R4-Sm; Fri, 16 Mar 2018 14:51:57 +0100 Received: from geert by ramsan with local (Exim 4.86_2) (envelope-from ) id 1ewpm1-0001Hn-HR; 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 20/21] staging: vc04_services: Remove depends on HAS_DMA in case of platform dependency Date: Fri, 16 Mar 2018 14:51:53 +0100 Message-Id: <1521208314-4783-21-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/staging/vc04_services/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/vc04_services/Kconfig b/drivers/staging/vc04_services/Kconfig index f5aaf7d629f0fae9..98064ce2c2b47c7f 100644 --- a/drivers/staging/vc04_services/Kconfig +++ b/drivers/staging/vc04_services/Kconfig @@ -1,6 +1,5 @@ menuconfig BCM_VIDEOCORE tristate "Broadcom VideoCore support" - depends on HAS_DMA depends on OF depends on RASPBERRYPI_FIRMWARE || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE) default y -- 2.7.4