From patchwork Tue Mar 13 20:59:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10280751 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 AD32F602BD for ; Tue, 13 Mar 2018 21:00:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9EC6C28500 for ; Tue, 13 Mar 2018 21:00:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9CF252852C; Tue, 13 Mar 2018 21:00:26 +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 7E7ED28500 for ; Tue, 13 Mar 2018 21:00:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 45B0F6E040; Tue, 13 Mar 2018 21:00:23 +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 ABE756E040 for ; Tue, 13 Mar 2018 21:00:21 +0000 (UTC) Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.129]) with ESMTPA (Nemesis) id 0MV0vp-1f8Ewf2hzR-00YUT7; Tue, 13 Mar 2018 22:00:16 +0100 From: Arnd Bergmann To: Thierry Reding , David Airlie Subject: [PATCH] drm/panel: rm68200: add backlight dependency Date: Tue, 13 Mar 2018 21:59:54 +0100 Message-Id: <20180313210015.3344380-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:kiZY1fw7iZFXAuT43xvMpNnLRcv0S2QQug5CxhTjOJ5AzfEF0z4 M4e6wGdhcrFHnQq3uFyaI709ciE8xT4oirtvU/sJX94w55a1hlrj2+hLqwWdFrqliOLqLte UOY1yv8e2pCommHvs8oTxUrfH8C9sYIBGZ8rgpwS0qasNQ4TXhRe66wAMKZjJFaidlXr6sE xHT4Gxk2IeFl2PAgHjp3Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:YZTXKv0waXQ=:E/xFG+upmgXw2pv9aEAESq gm30qffnPgiykwbYeFKxcqkYBf7yH+PNcvsEs65t61r11vKFUWCUlaykSS76341tdnfsvJzHI BHL2TZKS+HjhCzFsypFEWpB/oS3IZm7wY2GADFJDaH7HGrXm0h9kG91eMRSmOWQ+nwrO6/89P cJ9MgSJjKtvHFNobSukQXWi9Iy1dNS9Ol4F3RL4h3LvdUvVQIWFdSFfjqKOkyPV7mBgmoTxWx u+bpOq4OybOPRUM79wvBIKM7FCNhCOykJ0n876aH0tgGvXhcASvq4XU3IPlt3S1X7zvAe1Vaa UniXG1wTf+YW43+vCYk0axxb0Kkrh1wxHhNOlHxElTi5dAH40CUzECEhMvUCNUnvM5S6V6PCH 12hWlsrQZ41NEMHYBBMo6ZRjmPQljPVmvF5+0XnzkXOXRi5YCDDYkEJ5QVQYvDTZhwc6nhlS0 jaL+cKrx/UjegGwoB29H3KrOT62b8OBtL1s2qRB3LzooBR9GO0LdupfeidQemfTaPobGJ0cCw e3VbqbHfGFrfKLENluve0uI0EzbyaTlmbbeFSgCOH2vkzf2N84Wx2q/cRlHuF60bnJKSDMIO7 /dsiIAPXnLH4CI0ZHXsAg+77rTUeACVBS4uw8BWAdz0+RJ1EMlEbalzfL26f6Xesa2PpcKh8m UAyB0WvDDsK+Z4Q3xx2EigQfvtbOdp8Uqo+SzZiLvn2UmcoikeaPC19W5/wgzaHlNaon4sk0Z WYgQ3nY8oMhZXTDrQdwrPC1GGnGDMZQAbEec2A== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dri-devel@lists.freedesktop.org, Philippe CORNU , Arnd Bergmann , linux-kernel@vger.kernel.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Like many other panel drivers, this one fails to build when backlight support is disabled: drivers/gpu/drm/panel/panel-raydium-rm68200.o: In function `rm68200_probe': panel-raydium-rm68200.c:(.text+0x14a): undefined reference to `devm_of_find_backlight' This adds the appropriate dependency. Fixes: 2b7ed18bed1a ("drm/panel: Add support for Raydium RM68200 panel driver") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/panel/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 077bc58c1913..25682ff3449a 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -112,6 +112,7 @@ config DRM_PANEL_RAYDIUM_RM68200 tristate "Raydium RM68200 720x1280 DSI video mode panel" depends on OF depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE help Say Y here if you want to enable support for Raydium RM68200 720x1280 DSI video mode panel.