From patchwork Thu Oct 5 12:06:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9986991 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 6C127602B8 for ; Thu, 5 Oct 2017 12:12:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 57421286F3 for ; Thu, 5 Oct 2017 12:12:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B32028C2A; Thu, 5 Oct 2017 12:12:09 +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 D6CAD286F3 for ; Thu, 5 Oct 2017 12:12:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AB1D66E14D; Thu, 5 Oct 2017 12:12:07 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 309 seconds by postgrey-1.35 at gabe; Thu, 05 Oct 2017 12:12:06 UTC Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) by gabe.freedesktop.org (Postfix) with ESMTPS id 410296E14D for ; Thu, 5 Oct 2017 12:12:06 +0000 (UTC) Received: from wuerfel.lan ([95.208.190.237]) by mrelayeu.kundenserver.de (mreue006 [212.227.15.129]) with ESMTPA (Nemesis) id 0Ll4mA-1dPNKV0VGg-00b1Ax; Thu, 05 Oct 2017 14:06:53 +0200 From: Arnd Bergmann To: Tomi Valkeinen , David Airlie Subject: [PATCH] drm/omap: displays: panel-dpi: add backlight dependency Date: Thu, 5 Oct 2017 14:06:41 +0200 Message-Id: <20171005120651.376485-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:RbRKOZdAHBrle9bOPpS/GXM+WZ1lbhcdTAnpDcL9QMMPIoK9ufX ch/5wHTskCvkTL9gAry7ShvptJHc3IG2zVWP4AqB9acDiHyYUZkdRVIb1ZFz/oVVejS8iZw auNn1NgQVkkfhRR8BMs/WI78tGCTlhNfADvMEQbbDqP706RZ6ottCVT/59E2NlN9D2UAq2L 9sA6Z2zGQE9y6d4W2ASQA== X-UI-Out-Filterresults: notjunk:1; V01:K0:nCA7/XWAvG4=:xXYeqlUVX3uDY0DYL4HSBo h7kZ722skwR87n0uQTucnn7ecaR0wXtiCB3NxCXWjYM5ffgd5u3/gwL2zbBH62VuOgxNzrm8o c1a+f7uSzkeVa582H52f/0wwP/Sel/d8piJMs9wls2vZQ+ps4tJp3lh16V+WKDVf4yXnZtWB1 R0W+2OricpDQlln29vuKG4qBzRod0aUX6jSr3m7arAEwjPSq+I6EXqIRfeIqIgx197uyZDTpl 8s6NjTUsPsL/U/xJGYCwdBBJnbbT7Peel0pEUAOQXao0/ysrCA/Y21EkFArVeeIoRnlXRCW6A Zt2/x52SE64f+DT6qEuPEU3QrLVA3DAtaUeKBhkoWVBVJj+BiHOSm9b8Q26UwxX4CtyL0GZVN 5x2VAip+fy7Mlz0I0RPRxfPexGeyidqHmvIoJI2vPXDnxvcj5PKBarmHLNdbJNKvZLF1KLfCm CvAWuLA1z4gXCBBNxC7CVKDyihuk5HqRjn2QuzEJADT2sfMuhwk3Ziras029W0/keFfFN1t/D yU07F8yAtLV6W5bFQDAmvMmhF94S1dMq6bYVbb0oyNHn9MaTEDKQr4Na8Ne0oad70OEVOjALg 1/SV7bS3U1MemLaEUwTwkBF5SQs8sD3o85PD32GxgvGzaGnIA7HT0O+8e0O6bJuGa1Tl7xiZt ojXvUHn3yIOaKF9O8mY1ycPaBIEOOc762Ds8jscxm0nohcaaE9v2Nk6v2KjbBO61EJPeY2Bm6 Ay5arZfhJH/HAMgxxG56o2K5MUNM/0/O+G60Ew== Cc: dri-devel@lists.freedesktop.org, 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 new backlight code causes a link failure when backlight support itself is disabled: drivers/gpu/drm/omapdrm/displays/panel-dpi.o: In function `panel_dpi_probe_of': panel-dpi.c:(.text+0x35c): undefined reference to `of_find_backlight_by_node' This adds a Kconfig dependency like we have for the other OMAP display targets. 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.