Received: by 10.192.165.148 with SMTP id m20csp2004117imm; Thu, 3 May 2018 08:49:29 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq0aM5B888xqAhF1cZDqs+g0wy/oSn+KOwxGlkfvJFLkxyNrvvlE/E0wSaHXNDnPxNHUWgN X-Received: by 10.98.206.78 with SMTP id y75mr23051330pfg.175.1525362569042; Thu, 03 May 2018 08:49:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525362569; cv=none; d=google.com; s=arc-20160816; b=0kiaSN/DM27mKUoA+CtMFEg/SD8svw31RPwhwgYPd0y58ujDdyLszUJV8M6/IOzKA7 ROIP+wA1g9o0YrQJ1dRJ8Bz7z+BsSbwYICDwyqOLUNjrIDZD/dWYairG6plgMysC6yYk rR31/9SJnYk3m8BEwmG5jktz97jtYi6cMa6Qgekoval25SDxqIWr/c+U+XXz111BTWIC Tc+icQDIlY3Gf4zTWHS+Z0QR6848R0h62W2xZWlw1qBAfZfwiQyyr3nL1CMRGyNaWlLP 2cCrC1XJXPApu/WWXHnHa88YVrGLUJ34+PA57dvgbFdeYoabIisv+wdle2ui3l6C4H9X LYig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=+5L0KQDe/HW+tlIJPUPZa3OajoCnDLpZBCyVUUXcPtI=; b=Jg8guRXc01XcmluvEKrXzdXMqeMxlpSaCg/RsFSIpNEcuUSVIgaX4385pWlnGdUCjv D/BHSw1IcI3R7zudN3wLBVXQuzAAI8LMxY6PuWMEmPyVkCP6MB1aFqmYS5ERibh5Bewm f92xwD6eCCJzaAqUwNiZ8iuYE23lcwbKv+kGO6wOWatR5b9IBgMz0Ll8zR35MC5jlZA6 AXWTp98vcOhM4MBq0nnSJDdxuLXNeDLA26/SjLgNgl15tDeZ3lbgYF0OvXxwa7Ct/7rG jfJmyJWE/Fb98BirHUTjeP2k5171aW3IeGd/8TQBMv6LbL20xnmdqOE7k+05J90FBwLa qBow== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=pInAdZE6; 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 ay2-v6si12332328plb.210.2018.05.03.08.49.14; Thu, 03 May 2018 08:49:29 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=pInAdZE6; 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 S1751632AbeECPtA (ORCPT + 99 others); Thu, 3 May 2018 11:49:00 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:40640 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751301AbeECPs6 (ORCPT ); Thu, 3 May 2018 11:48:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+5L0KQDe/HW+tlIJPUPZa3OajoCnDLpZBCyVUUXcPtI=; b=pInAdZE6CUg6TrQZQJgQJQHbE r1/0C1EJG92omPcbs8TtmXLs/YEFqIoBdRYZZONY88Y1WxGajweArfpKX5GyZsVW+J6ovZmaRzNOR HnvpLDQ15DjjK+tF1uwh7aHOFL7cvONtTYj6UthaYdlke0gEY2Nw7G8TNOMq/psUQcTmWRxJWO52k HaB48p31daQRYWUNG6SOvATJOtF1Ug7aA96blV1KEgTohe1c8ou8D8ySGvnyhfp0wZHuC82IwNSRC kJUy8DlRLCxND0YoPZ/FfqVos4OQPUGgSMCrqtYFq1bLCpqDSDMdTkHqz1U+HanVJW/iBx+WMsTg3 WKEaKfmkQ==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEGTZ-0007Ym-QJ; Thu, 03 May 2018 15:48:58 +0000 Subject: Re: [PATCH] drivers: omap2: Kconfig: make FB_OMAP2_DSS_INIT depend on OF To: Anders Roxell , tomi.valkeinen@ti.com, b.zolnierkie@samsung.com Cc: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20180420112551.27027-1-anders.roxell@linaro.org> From: Randy Dunlap Message-ID: <16e74acc-1265-faec-0c36-49681a7760e4@infradead.org> Date: Thu, 3 May 2018 08:48:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180420112551.27027-1-anders.roxell@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/20/2018 04:25 AM, Anders Roxell wrote: > Commit 7378f1149884 ("media: omap2: omapfb: allow building it with > COMPILE_TEST") broke compilation without CONFIG_OF selected. > CC drivers/video/fbdev/core/fbmem.o > drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c: In function ‘omapdss_update_prop’: > drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c:68:2: error: implicit declaration of function ‘of_update_property’; did you mean ‘of_get_property’? [-Werror=implicit-function-declaration] > of_update_property(node, prop); > ^~~~~~~~~~~~~~~~~~ > of_get_property > cc1: some warnings being treated as errors > scripts/Makefile.build:312: recipe for target 'drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.o' failed > make[7]: *** [drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.o] Error 1 > scripts/Makefile.build:559: recipe for target 'drivers/video/fbdev/omap2/omapfb/dss' failed > make[6]: *** [drivers/video/fbdev/omap2/omapfb/dss] Error 2 > make[6]: *** Waiting for unfinished jobs.... > > Add OF dependency in order to make all configurations work again. > > of_update_property() has no inline stub, and that that could be added as > an alternative. > > Signed-off-by: Anders Roxell > --- > drivers/video/fbdev/omap2/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/video/fbdev/omap2/Kconfig b/drivers/video/fbdev/omap2/Kconfig > index 82008699d253..4de381f2452e 100644 > --- a/drivers/video/fbdev/omap2/Kconfig > +++ b/drivers/video/fbdev/omap2/Kconfig > @@ -1,4 +1,4 @@ > -if ARCH_OMAP2PLUS || COMPILE_TEST > +if OF && (ARCH_OMAP2PLUS || COMPILE_TEST) > > source "drivers/video/fbdev/omap2/omapfb/Kconfig" > > Hi, This patch certainly fixes the build errors that I have been seeing in linux-next for several days now, so: Acked-by: Randy Dunlap Tested-by: Randy Dunlap OTOH, I would rather see the Kconfig dependencies all expressed in drivers/video/fbdev/omap2/omapfb/Kconfig instead of them being split between 2 Kconfig files. thanks, -- ~Randy