Received: by 10.192.165.148 with SMTP id m20csp135826imm; Fri, 20 Apr 2018 04:27:32 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+yA8+0oKFmc6KK4sz+LdgvexU/2bPUnUv4jmqKfoFAK3yxHzVXrCRMBEcr27Kew8XTyX44 X-Received: by 10.101.93.7 with SMTP id e7mr8434749pgr.119.1524223652647; Fri, 20 Apr 2018 04:27:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524223652; cv=none; d=google.com; s=arc-20160816; b=sW0DoWWUYK8yrO0MX2icotav1WbP5j1UAoLoOlOj7swyqbZsSfj3pmBkQKzflFIJqI Rmefz+0XzzGjKzHd9+6yt4NtxhHdeVya8fkJAruY2J/b/zVqegwYEipP7HDUZgS30vPC qDDpX6ywflJ6bknlE/8wP7Odu9ll+oh3szlmz0MfbI/0esWhLWRLoOW31SfyeErRcRNp XGbdNQ9+Igd5FXenDIMoSRZkgq2uxxRAANuMD2Do51c5YrPZj0eVV3U6R/W5eFFyjj3y q4YXINfh7QvAv9rJh8kfGt1j7iYWf1CfkFLxogMRviw0oOEIa2gcdobtRMVU4vuis3we 6NOQ== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=XWBFie2sVJrLaZgwPIc7qPl63da3nJKsukd+0etsuJU=; b=YajF6mf41MVLnR/VDsvTCD6O1vhQ6HMCtw5/NjGdXul/+FIjwPnZhaCxEv2Ge2CI7q 5ylfnNlvkovNQmRYZhZa4rXQ8jEoe95hYxi1UttD9CI8nuzvA4rlIF2jpjgy9ToK78RS XAGYBpIZ8rQuMt2KeuZS3GN2HNbwAE8gJ6uKnsEh+4XIdqALXZkQ5AZnWvLj/fnzPNWF trIx0lCDxsZOP5Au1bLAn+m0d18yvLFm1X1PeMtGz7z4nbBJwTwQ/TiCLcq+ikHWnBQR Qyh4t8CMBJtClHHdKboEG2Y4/haQS3+zsYIBjsNgop95tBaxTNuGO2JIeaC/YpzS+CDD J6dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WtccWvoc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l15si2969777pgn.414.2018.04.20.04.27.18; Fri, 20 Apr 2018 04:27:32 -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=pass header.i=@linaro.org header.s=google header.b=WtccWvoc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754739AbeDTL0C (ORCPT + 99 others); Fri, 20 Apr 2018 07:26:02 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:46201 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754726AbeDTLZ7 (ORCPT ); Fri, 20 Apr 2018 07:25:59 -0400 Received: by mail-lf0-f65.google.com with SMTP id j68-v6so4622386lfg.13 for ; Fri, 20 Apr 2018 04:25:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XWBFie2sVJrLaZgwPIc7qPl63da3nJKsukd+0etsuJU=; b=WtccWvoc2tyusyDa5M+TlgsVC5kpF6PM/bF0+3dShCKyORzEgtr9VL820mQRAJxaVL /lFBAnSkSNeuep9xcb75ElXvYKNBMopRSsQh3e+8PCt04TgVj8ZmjyzrvfhVMMpwzxXQ tQKoAgR2K6053iIV+fl1r35ZW8zKrun/Zq+GY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XWBFie2sVJrLaZgwPIc7qPl63da3nJKsukd+0etsuJU=; b=g0X8tpEUdjpZExH46gTCkbh0KhyVkenEFU9ugl/S0G6VEQKYBxirqNFcFuCXLH/ubQ /sQnztaEN33R1pnl/Mg40Z3OlmDBh/5FJ9BXm0x/RHMhijAmf8D6sLlMhaGUNjJB657Q XBQA0zw7L7xdJ//ehOg3Or1FoOflA14A/rJXUyIB8gkST5vid8HL4lz5r/i1wrEEcapn UU42qwR+kvy65YWRCNxd/ZuE3bw4vhj6A4yEJD+Og1efy65AXNG8j6UuMmaFhh6GvCic mlBSCmyRvh2bJkE6nV7jQP3TgFMHwwGQ/mAco2Ptmgj9IsN4uJ1lIIdtFF8ygKDCbelu aztA== X-Gm-Message-State: ALQs6tD5t0Di0Qr/8jIWCw68ySd5do0XzN6NojaHPvFXP2kjQnRkWlPI VNDFmAhtsh5nKSipXOM4q0jvlg== X-Received: by 10.46.69.5 with SMTP id s5mr4818169lja.41.1524223558075; Fri, 20 Apr 2018 04:25:58 -0700 (PDT) Received: from localhost (c-2c3d70d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.61.44]) by smtp.gmail.com with ESMTPSA id 76-v6sm1290312lfq.70.2018.04.20.04.25.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Apr 2018 04:25:57 -0700 (PDT) From: Anders Roxell To: 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, Anders Roxell Subject: [PATCH] drivers: omap2: Kconfig: make FB_OMAP2_DSS_INIT depend on OF Date: Fri, 20 Apr 2018 13:25:51 +0200 Message-Id: <20180420112551.27027-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.17.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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" -- 2.17.0