From patchwork Mon Nov 6 13:58:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 118054 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2794678qgn; Mon, 6 Nov 2017 05:59:37 -0800 (PST) X-Google-Smtp-Source: ABhQp+QskjROW8hxRHFvboDlpxc2yQ0FuNuvZ4VMvhCTLODX/+kRH/7nLTS4op55zxbtPGoCJOZJ X-Received: by 10.84.213.9 with SMTP id f9mr14324238pli.76.1509976777883; Mon, 06 Nov 2017 05:59:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509976777; cv=none; d=google.com; s=arc-20160816; b=CUaZs9N0IJPn8S6mllzRV+DjBJx54s7oo2dksB6nc1gyz70RfFL9O4/T0R6rFhr+Eu 7euPKgqB6PG0XvaxUBAEs88q/u3TZQDTk/67SdKFVwh9K4YlES0Ida2CvClF1LUjmbh6 fCSdGWb9ycnFlHYPznyUO7lVN5pRvfdOYUvmjPHtcNsBTojohFR1M6wwlgx7K53ook0d CoprlUwkroYybM6HMplvvna4j/7D19KIxMsiw78HiEMNsFITjGG1m01FlkWRYzlh5W8L YWAORmkXr6QRPp7VEm6Gj+JMaZn1iXZEnbaD9Vym7gRoBkcUabOEx2P8LQM0lt7/SjG1 ExpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=z49ut4LZECVdZyPoHbHZcKeR4ojsmb+5SXbJ2b2IwRE=; b=QRuJzazmios8ADSwrSc0Gt6RCDT/1fHobjf51vR7NjZGBFPzJYUCFfDQXP8dbPDD/2 WW2HKtqtVL2UECd6nQLTsEfWE35hVEphFigGd5DeffEy9jvyrI4heoxBry2xNNcsZp0M 06o7JlT9mwFwOF+trNg1VYM4AWEoYfzoAXA9engMzbmPgfCIw8/QsbxWhhUXu4wzVfWb kcoT8ERwYtbZBb67xFjofXzJ94F69I2MzFJII66UCG/S4TC1a0fs0cl2IjBhJZ4Vg3Ca S2i9gCxWDaEawo/i3dFFnyTljXuYdY8NYVToxRKw+bXAuo7HLhvnQbzrps6qYeYek6Mo w+kA== 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 m18si11339282pge.76.2017.11.06.05.59.37; Mon, 06 Nov 2017 05:59:37 -0800 (PST) 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 S1753215AbdKFN7g (ORCPT + 26 others); Mon, 6 Nov 2017 08:59:36 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:60252 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752761AbdKFN7e (ORCPT ); Mon, 6 Nov 2017 08:59:34 -0500 Received: from wuerfel.lan ([109.193.157.232]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.129]) with ESMTPA (Nemesis) id 0Lv6gg-1fBsy40CRe-010Ipj; Mon, 06 Nov 2017 14:58:54 +0100 From: Arnd Bergmann To: Mark Yao , David Airlie , Heiko Stuebner Cc: Arnd Bergmann , Sean Paul , Guenter Roeck , Chris Zhong , Sandy Huang , Jeffy Chen , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/rockchip: add CONFIG_OF dependency for lvds Date: Mon, 6 Nov 2017 14:58:43 +0100 Message-Id: <20171106135852.1355487-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:kl7w5tTmjklw8MQoid1MA134ODJa8NJ9Jx8nrvn28gktENoF9NH f0XWa8tCpR5bRwPg7qKtKQ4Yx4osT2wPUXasn7FoSDLPZlwwF13Oqz27gEgvv4BZ0zb1UZl lyoURrx8YlLnR/z+VmBzrxUFgubbk7e77BG9QUgCIUCVmdIizaHb5Ukh15epi/8RKzCCyeE 0sHOuWqv1LNK4wiVfHiVQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:LX/zAbUS2DE=:wBTDsUQ8NJYwdcMmO/Xv3c BmeMDKyYhDgEeRGxih5nsgvJd5uBWs/XJNH3+NYDLXbq9LyoMXTr1phT2kfJwf4q8wQaV85MA UcD40R1wfKXezLrzQ+6sYLNgGAftPCvcIBsCV4ROceaeeDyGFKszPXoaKKybJoi+bQgsTxoYT 5738ljJRIguaPNFTG6JVrGKVmY842NK0IwprRQ3qyUSfLHxLOopr/bvaK7QRCOpCfTBupTxCt +Mhub2YPMqf8878V2DSg00cp4TgunL8+8andydhQvsxwkQkn4UUs48HgKjrUC+01sd6omfZXT e1n1Q9SdWrWvhaYxQgkFck2Oh/yvUymTZ3yD9m+kf6Qy+4fiZhRgETCNIWowGiKy4+fn+fFDx oy/RRxrUfpeVAjly9uqIFKt1B2FV0BLSJfb8k9H8mzqpMBdCYuNliSeyzVztY61Fo051OBheL sYOzMZTlJfzBlFOXWUsgyNztY82WWseiN0Mq6jMY3IlIuaxG1gr48G4yQUbRz4VZHToHQzx4d vbWDu+o+CdKeOaaKhNokEBqREzw7aOflq3YtT+Ay4YRukl1FpBV96FfkqN1SFq88So7D/dZxH kmMVncWbgQpDIj7hbU7SIE+oDC5pGwLB/Mn39UodDIFVrl2PsyE9VSLO9jK5cCSzciNG+XbTE E415DJnimeHSMDCaABWXj00mHDhAh0kAFAMCFyzug1wfppDO3qOL7OY2T+biE3Bdmkw2Qxtkx XVoPfyXkbPuZrL7+7EGvBIvQ+KySyfqKorKC9w== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Build-testing on randconfig kernels revealed a dependency in the newly added lvds sub-driver: drivers/gpu/drm/rockchip/rockchip_lvds.c: In function 'rockchip_lvds_bind': drivers/gpu/drm/rockchip/rockchip_lvds.c:380:24: error: 'struct drm_bridge' has no member named 'of_node' remote = lvds->bridge->of_node; We could work around that in the code, adding a Kconfig dependency seems easier. Fixes: 34cc0aa25456 ("drm/rockchip: Add support for Rockchip Soc LVDS") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/rockchip/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/Kconfig index 3c70c6224bd2..0ccc76217ee4 100644 --- a/drivers/gpu/drm/rockchip/Kconfig +++ b/drivers/gpu/drm/rockchip/Kconfig @@ -60,7 +60,7 @@ config ROCKCHIP_INNO_HDMI config ROCKCHIP_LVDS bool "Rockchip LVDS support" depends on DRM_ROCKCHIP - depends on PINCTRL + depends on PINCTRL && OF help Choose this option to enable support for Rockchip LVDS controllers. Rockchip rk3288 SoC has LVDS TX Controller can be used, and it