From patchwork Wed Apr 19 17:59:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9688581 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 BD6166037F for ; Wed, 19 Apr 2017 17:59:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B432F283E2 for ; Wed, 19 Apr 2017 17:59:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A8CF5283FB; Wed, 19 Apr 2017 17:59:44 +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 3D94D283E2 for ; Wed, 19 Apr 2017 17:59:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D22DA89565; Wed, 19 Apr 2017 17:59:42 +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.133]) by gabe.freedesktop.org (Postfix) with ESMTPS id C27A689565 for ; Wed, 19 Apr 2017 17:59:40 +0000 (UTC) Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.129]) with ESMTPA (Nemesis) id 0MWvfk-1cV3Ap2cKK-00W0Yo; Wed, 19 Apr 2017 19:59:35 +0200 From: Arnd Bergmann To: Tomi Valkeinen , David Airlie Subject: [PATCH 1/3] drm/omap: displays: panel-dpi: add backlight dependency Date: Wed, 19 Apr 2017 19:59:17 +0200 Message-Id: <20170419175939.189098-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:+lxhivba0tirDF8GhaQVVOBLSu66MHBcL0qbocfL+0F1csDOEIn NZSuTkdWxNJOIf7KJYZJyodCQ2ZUi/rQL/dtVcd1tIEUZocEJ8YpOmQINHQ4PusLP8xJc+G Ktnu2U4rxP0kuzLY5RxX7xazdw9721ZYXaYig3BuzUYwJZsFY4kOSq7xjSHrB0C7xbfapsO nJtfv78rJfvnr19qlu11w== X-UI-Out-Filterresults: notjunk:1; V01:K0:Bn/WG8d16LA=:T/8TCAk9CeoTIV94fduYjz wn7alPpZ3fCfXbhoWh50nTLmfWfK1szDE7gJDkm6jzm41Ii0vOFEjkGVaZIbvMPRnVNgkF1Ij EU0x9+CoHs5BAKKf3kkaDJNfDEj3FKwU1vLXy/I19AicX8Koj8JSWce7hbNlFhv6XIq7UNTEO 6PvbypTWio1WWb/cpAxYTDtl5fy5qnDiJB7TfjImPm3LwfsfWOIV+BcA0paVENWrusbmNTfxi GUPWl6a6Vsy1GOqoBeVXC9nVKu4E2NM/5JQQcMVmBzWi/HcXg8MVbLqTWGPipXSitSuAUwc35 8HmuiCCNB+AfU2hBiHi3yeJCJASbs/cjHQ1VScpy5PcakesQpRoXCAu758xWAhKl2uSntFebr i68TvygOIzEDsPf/0sPg2hxMaxY9pU8uxbfgmVVVVFRtI4JKQytiXTYyNr27fXjM53NTokKaS +apXfQnBz7kpHMOno44p306JXc3vZ7WPJcPJz6PMilQGA75+JdRB+vBphqKfu9GytNcqgo6+c 1z5HUfdIZsp0ujwegBo++q0imk4DB7Tjufb5Lljw20nSHfoMNt1FxKN6/byZWfdAbwvLEaj7S vSFOwhJqFV4Co7NU8aXVplVyb+CilexZNfdsxMLUKyVSoytld6sIkAcMhFdvb0C+YpwL9DHdQ ek7c95U9l01GyiYuOgA05JvfWmEQA2Uara4eXGGA0r/mdt8bUZMQEqai1HVg/zdyktOc= Cc: dri-devel@lists.freedesktop.org, Laurent Pinchart , Arnd Bergmann , linux-kernel@vger.kernel.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 The panel driver gained support for backlight but fails to link now when that is disabled: drivers/gpu/drm/omapdrm/displays/panel-dpi.o: In function `panel_dpi_probe_of': panel-dpi.c:(.text.panel_dpi_probe_of+0xe8): undefined reference to `of_find_backlight_by_node' This adds a dependency like we have for the other panel drivers. Fixes: 39135a305a0f ("drm/omap: displays: panel-dpi: Support for handling backlight devices") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/omapdrm/displays/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/omapdrm/displays/Kconfig b/drivers/gpu/drm/omapdrm/displays/Kconfig index c226da145fb3..a349cb61961e 100644 --- a/drivers/gpu/drm/omapdrm/displays/Kconfig +++ b/drivers/gpu/drm/omapdrm/displays/Kconfig @@ -35,6 +35,7 @@ config DRM_OMAP_CONNECTOR_ANALOG_TV config DRM_OMAP_PANEL_DPI tristate "Generic DPI panel" + depends on BACKLIGHT_CLASS_DEVICE help Driver for generic DPI panels.