Received: by 10.213.65.68 with SMTP id h4csp459117imn; Fri, 16 Mar 2018 08:23:31 -0700 (PDT) X-Google-Smtp-Source: AG47ELuh5E/wO9+JdO4XPPdJJjQ9+gCC2oICku/JtR0iWylSD9LTvGRcHP05GwdiUhcMWdRxNj8U X-Received: by 2002:a17:902:2f:: with SMTP id 44-v6mr2570353pla.187.1521213811158; Fri, 16 Mar 2018 08:23:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521213811; cv=none; d=google.com; s=arc-20160816; b=LdU/A9Qo4EJ9S9kbE2d4p6TGAkD1fCcEq0XwL9NxTHfM8SYIay98TcB9l8ADBTMmRI QcKOLJ4BjoPmazShWM8DyG3rcP2Z4iA2lAwx0k8eXSo8zPYXW7T3nfGxWYAFrt2m6b4x EUoAIGljP1ThpTwIEuDyIIn0EIxMCuiPuDpDHkmd1T9JcEsPKRaWlW9F9n0gdLN8ahVi MoOjCWLcfuB29mxXhrIcHmAzBkR7Ci7AmSuQUIK2Ay+kpThKyZQxEiTeHWHGlkVSUzd+ WyP1bpMrSVBxSsdzkfM3L4/ZTjIJ2UU3tojBbWZV+MP7qAxtdukHk/z9/r/ln5riZYaO +skA== 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=TEv1yjmmUo0I+TSDjEUPoI0gAUTKtEuCL12Af3EJFas=; b=rCHzi3sDiZ2ypA4e2WYy2V9OZMaZgMW4IL2tWgXUNk/KJN7x9D9MNBQNA+g8NDu5eY vmStLmEeGAhKjhCdeBzCeRk9ClNBVYRFTNrDCHJ6sxuQaOIHk/op1+eh2EgCRhG3ZQvr PiJ3eF0FlAETZ1DOl2lPwZH7f7hKSI0tJYeNEMbZ8Ogb8AWlLiW8td2dYHjZFIfnqGsx XMkMQbJo2vVhobWYZME0Ba7ohIGmWeTuRSM7lYpVHAAOL+UckDDHE7FVPIRqSiItQrn7 zFcIlbLF+i6C4nGUQnBNQc2lAvQ1HEy3wIycz+ACUjYtSAR0teS/LwRTDzVE7w0pIb+D I+ng== 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 s187si5611534pfs.1.2018.03.16.08.23.16; Fri, 16 Mar 2018 08:23:31 -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 S1753472AbeCPPVk (ORCPT + 99 others); Fri, 16 Mar 2018 11:21:40 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:54938 "EHLO albert.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753395AbeCPPVf (ORCPT ); Fri, 16 Mar 2018 11:21:35 -0400 Received: from ayla.of.borg ([84.194.111.163]) by albert.telenet-ops.be with bizsmtp id NfLn1x0083XaVaC06fLno9; Fri, 16 Mar 2018 16:21:34 +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-0000Q7-2h; Fri, 16 Mar 2018 14:51:57 +0100 Received: from geert by ramsan with local (Exim 4.86_2) (envelope-from ) id 1ewpm0-0001GX-Ss; 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 04/21] fbdev: Remove depends on HAS_DMA in case of platform dependency Date: Fri, 16 Mar 2018 14:51:37 +0100 Message-Id: <1521208314-4783-5-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/video/fbdev/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index 11e699f1062b78ea..abee481f5fb778dd 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -2174,7 +2174,8 @@ config FB_XILINX config FB_GOLDFISH tristate "Goldfish Framebuffer" - depends on FB && HAS_DMA && (GOLDFISH || COMPILE_TEST) + depends on FB + depends on GOLDFISH || COMPILE_TEST select FB_CFB_FILLRECT select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT -- 2.7.4