From patchwork Tue May 30 09:22:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9754199 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 A18BB602BF for ; Tue, 30 May 2017 09:22:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 91AC62656B for ; Tue, 30 May 2017 09:22:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8685327853; Tue, 30 May 2017 09:22:41 +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=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM 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 45E132656B for ; Tue, 30 May 2017 09:22:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 181C589A5C; Tue, 30 May 2017 09:22:38 +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.130]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3851589A14 for ; Tue, 30 May 2017 09:22:35 +0000 (UTC) Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.129]) with ESMTPA (Nemesis) id 0MQb5V-1dKt4w3Xvp-00U6Qb; Tue, 30 May 2017 11:22:28 +0200 From: Arnd Bergmann To: Eric Anholt , David Airlie Subject: [PATCH] drm/pl111: select DRM_PANEL Date: Tue, 30 May 2017 11:22:08 +0200 Message-Id: <20170530092224.1204037-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:P8ve1Huz7bCBtpY6QYuZ3V+Kz7J4ctRn/qYGjeU6K4vxaN8oMj8 zoPxDP460ShfzWdLWiNmGpJNcbEmC0x1OX0lyIyigthI9XLaMdw6h92t3zcPwVJgWhQukER DdGXvRtpwSWBTfzt3Mc/A/a34V4aHfxgpandxhNqTxFfhi4wQDl5kS4jQA3HVUuBYZp7kPM OArhyUVS2UOsJQhwUZtZA== X-UI-Out-Filterresults: notjunk:1; V01:K0:yJHJqk4b93o=:XSo1FV/QVyhIDTJ6qGb1md 6+/Ry1s+eXGh6aUv2dhlZ+EVA7xcGXdYa3Y/IcqDlQKWc20ENvwj/U4ngsuIxeL9AEFCvXbJh LPGxL58ySm+imOV3RxX1XWQHHRNEFPnXjXhHhj3VdhuZFX+Ql2ev7yDoze2tvWC8HVIQYPr1u WZeKQbyfZJRfAZffddqtz/Dv9D/swGYZG6FwLVWQ7ev2Wm0lERdq56ABsnm1nQLKnv4bCR66J u8nJUazOVDp4DhQTyV/ou2WGroJr/O/KzNlrk42rIXfRUp5/bzFaWBkzHk9YUtMCCuAYSk3vT 5FIPK50DG/UsWL+OApMLJFFI3jYW9GpnrfIIGhGwi6De/2EmgbD128Mwi5yDjl6e2e+fvC5VL hlOM1RwPFJQKOmhdqXJjriuscvjKaPtrdp73MqS/71tvKV2aRKuXBURKFeJdM9GAgp7rCSNww LdmWlGk3XZKFp2zyiO3YNkBZC6dueA0dweOHQkMgBFA0anBtc5N8FCj9xjXTE1a9HFqlB/cai /hRN4DRC+5qHPdu4nogxqd6cKMf2Nqqz0tYxbnU9Hlofr2OTACxU/th4W7ZdFk1xCyiEufDsj T0dVUlVQSzz5dFXkaGPdjXYq3lpU4t35sHJ5tYu2PgkEx+4affefAaHsphLf++J/Z8aA9lxlm 0UfdthGIAZOx42M86GW8cVifYiyEwoTsvhSQZlNCBrHUeyx/WcQc5DK9yDpOcRCaseqQ= Cc: Arnd Bergmann , Daniel Vetter , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.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 When DRM_PANEL is disabled, we get a link error for pl111: drivers/gpu/built-in.o: In function `pl111_connector_destroy': pl111_connector.c:(.text+0x3487e6): undefined reference to `drm_panel_detach' For some reason this only appears in the latest linux-next although the driver appears to have used the symbol for a few weeks already. The solution however is simple enough, we just need to add a 'select' statement. Fixes: bed41005e617 ("drm/pl111: Initial drm/kms driver for pl111") Signed-off-by: Arnd Bergmann Tested-by: Linus Walleij --- drivers/gpu/drm/pl111/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/pl111/Kconfig b/drivers/gpu/drm/pl111/Kconfig index 309f4fd52de7..bbfba87cd1a8 100644 --- a/drivers/gpu/drm/pl111/Kconfig +++ b/drivers/gpu/drm/pl111/Kconfig @@ -6,6 +6,7 @@ config DRM_PL111 select DRM_KMS_HELPER select DRM_KMS_CMA_HELPER select DRM_GEM_CMA_HELPER + select DRM_PANEL select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE help Choose this option for DRM support for the PL111 CLCD controller.