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: 10043525 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 3D83360247 for ; Mon, 6 Nov 2017 13:59:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 29B2A29C2D for ; Mon, 6 Nov 2017 13:59:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C28B29C30; Mon, 6 Nov 2017 13:59:49 +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,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C3FBC29C2D for ; Mon, 6 Nov 2017 13:59:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=rekOC97JtOv8SK/8uT5z4xaj9FbeQB98TMGjifZsXUU=; b=Cjx JsoT9sdXglhKi6vBGnHo+G19ek+nvKuyo/vaq7+NPXDLpwuiWQquP/AADIz/+4WWTsEYgrCvV40d6 WpiSa6SJ1Q8bpT87p3+DK1tZ7JKedMYwa0FYl0KsWler47MHCSudj4NJ9Mj/PD095Ccj5Lgy3+0xB 75rrPtwwOwEOU5ovE2AlS55FsM0iZBSEa1YqkRSvX5MZrXJJTukZOX6c9nS9N1I1ENVRqlxinF61J Muo9QaQQcxTUuUkfDDTjGhK3eYPobWzl8iFnUj7WISY/rqYlMyq7tLgSq0zRlwmkL2sUBj+N4+0uU leb1SRnx4qmuF4ZNdFROH8fk+957ZCA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eBhwJ-0006sr-6L; Mon, 06 Nov 2017 13:59:47 +0000 Received: from mout.kundenserver.de ([212.227.126.135]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eBhw2-0006TW-RZ; Mon, 06 Nov 2017 13:59:33 +0000 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== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171106_055931_240661_F1A86FB5 X-CRM114-Status: UNSURE ( 8.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , linux-rockchip@lists.infradead.org, Jeffy Chen , Sandy Huang , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Chris Zhong , Sean Paul , Guenter Roeck , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org 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