From patchwork Thu Oct 5 12:09:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9987017 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 E854A6029B for ; Thu, 5 Oct 2017 12:30:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D88D128C70 for ; Thu, 5 Oct 2017 12:30:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CD48428C74; Thu, 5 Oct 2017 12:30:48 +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 598E028C70 for ; Thu, 5 Oct 2017 12:30: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=vOqKL+wRs5KGlUPLvH9OO6+oAwNVbKSZqZml0h9IK0A=; b=QCf FzL+7aKudP/CTNTq5+4f2lWwPhANKcvp1xMRBadjfi90ZlSD0JgP7bxJz/X+ehqdrU8aJA67TmKr7 0fArw3N4taivD6suTOOfxwVaNOMD6eHp0SuyQ5+F401/McKj/qrdlj/70+PssRyQflcu0x+pE066k RER/WEPgWWy7jRiejIuRm/5WtLlmmXc9burqfDm+OLP6USpQTMHbexqoINSAUgP45/xrxqixQnBBI 8uUTUavXwMDKE3rgAMbTFZNSX6eSK2lpb+xJzD3WVtbKbZqNk8PBPwivIqaJj0U1aTV6kN7cPM0Nm Qkw90z/KhxevaVjg4rAq4O/G7AdBolA==; 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 1e05Ic-00076M-RS; Thu, 05 Oct 2017 12:30:46 +0000 Received: from mout.kundenserver.de ([212.227.126.131]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e054C-0006pK-6q; Thu, 05 Oct 2017 12:15:58 +0000 Received: from wuerfel.lan ([95.208.190.237]) by mrelayeu.kundenserver.de (mreue006 [212.227.15.129]) with ESMTPA (Nemesis) id 0MUgYZ-1dr2aD2ZvP-00RLcR; Thu, 05 Oct 2017 14:09:58 +0200 From: Arnd Bergmann To: Mark Yao , David Airlie , Heiko Stuebner Subject: [PATCH] drm/rockchip: add PINCTRL dependency for LVDS Date: Thu, 5 Oct 2017 14:09:39 +0200 Message-Id: <20171005120957.485433-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:e26/wIWGkhZL7M4NBpeUtxkN9BaVVnijI1EvoVlgOctJEuODCXZ A04T8W4g+PYF3tpKwadVX/ZO2GQTsEF3u3JhoNSG/kr+JhDuxtzkkq+HrtcdFyHfn9EGjWE u9+LkXBvfqhqpiI+791N2bOHA2/VC+INpKNKZsuos990GyDFAI4a8K3nh+fHU4sRfxoaj3A n0x4Q4fPSBSB431fjSuzA== X-UI-Out-Filterresults: notjunk:1; V01:K0:3ixWBWVrCDs=:fAZuTBB5sfxK7Re6DxpMXN qjx09AgUCe+CuA9b6SHDjLVyyC2QAvOlKokKQ/kv2IwnchG353z2FCxiYneiCZgfdhAH0Navm 2y8KG9AejCrpkpvDkFFTDMJur+i5UBIEA/jL0yUztxSgof0rkXuXuTyGwya2OCPoa7SO4julg szoT4JZ+FyHsFxLfYypln/BMxDne6L13iOybTSMdRi3KyVplOyycnH3r+8GgWbtMlK34G0MXU 8g0cOoR0XV0q3HX6P2b1t13isoj5/wPzNemoG9DzBTzznI+td+S5gmmZG/QDXZwuAGCvTN+T6 EclH+e/UT2H+2Z5NBZwjrwioz26CGhb2mCqERJmcn8TGiJl0+wjkRp9XCwcyczv87O/hP6H1q n7NIJUxBN3avEfkdaFOpOMpDG38+o8bcjQEawh0082IVFEBok+C8Cq1SZQpztPouCRKZOXZim 6NOEWSGvovEFNYQypoVIs+L9TJFME3odB1OkwQIWDHWXpWaaiBTIzqAJyu3lHMThvemaSY4Ge NcDETKeomNuou4cfhNyvlDbzixw1QLcFU4qq1lxucl5llyWgFLcP6ywnPld/OqS8ruY5FTM/C hCfgP2IXaMQ/kk0jipxeeX0QOWUuQR/ijgMiLkD2Jzw4Ej78BQqSz4DFw8204QeFJlAX4u8vn Wr17UJWUru87VFQq8mrVJrz5uW5QiOUfYMrF+huKp+iE/+6VnQXEEiZvbJEZGfNF0mzJW83yj qQHC/NHz+obESz8WRfa2O7GZHCTq7byPOfqQ9w== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171005_051553_545684_23CFCF6B X-CRM114-Status: UNSURE ( 9.22 ) 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 The new driver fails to build when CONFIG_PINCTRL is disabled: drivers/gpu/drm/rockchip/rockchip_lvds.c: In function 'rockchip_lvds_grf_config': drivers/gpu/drm/rockchip/rockchip_lvds.c:229:39: error: dereferencing pointer to incomplete type 'struct dev_pin_info' if (lvds->pins && !IS_ERR(lvds->pins->default_state)) This adds the respective Kconfig dependency. Fixes: 34cc0aa25456 ("drm/rockchip: Add support for Rockchip Soc LVDS") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/Kconfig index 0c31f0a27b9c..3c70c6224bd2 100644 --- a/drivers/gpu/drm/rockchip/Kconfig +++ b/drivers/gpu/drm/rockchip/Kconfig @@ -60,6 +60,7 @@ config ROCKCHIP_INNO_HDMI config ROCKCHIP_LVDS bool "Rockchip LVDS support" depends on DRM_ROCKCHIP + depends on PINCTRL help Choose this option to enable support for Rockchip LVDS controllers. Rockchip rk3288 SoC has LVDS TX Controller can be used, and it