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: 10043519 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2A63A60247 for ; Mon, 6 Nov 2017 13:59:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1988129C9C for ; Mon, 6 Nov 2017 13:59:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E4F829CA0; Mon, 6 Nov 2017 13:59:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AC56029C9C for ; Mon, 6 Nov 2017 13:59:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 827206E37E; Mon, 6 Nov 2017 13:59:09 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) by gabe.freedesktop.org (Postfix) with ESMTPS id AEBA76E37E for ; Mon, 6 Nov 2017 13:59:06 +0000 (UTC) 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 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== Cc: Arnd Bergmann , linux-rockchip@lists.infradead.org, Jeffy Chen , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Chris Zhong , Guenter Roeck , linux-arm-kernel@lists.infradead.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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