From patchwork Wed Jan 28 13:48:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 5728231 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 91F50BF440 for ; Wed, 28 Jan 2015 13:48:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CB05420256 for ; Wed, 28 Jan 2015 13:48:38 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id D275A20225 for ; Wed, 28 Jan 2015 13:48:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A2FA56E6D4; Wed, 28 Jan 2015 05:48:36 -0800 (PST) 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.187]) by gabe.freedesktop.org (Postfix) with ESMTP id 4861D6E6D4 for ; Wed, 28 Jan 2015 05:48:35 -0800 (PST) Received: from wuerfel.lan. ([149.172.15.242]) by mrelayeu.kundenserver.de (mreue004) with ESMTPSA (Nemesis) id 0M9tU4-1YN1Tk3bB2-00B3MI; Wed, 28 Jan 2015 14:48:24 +0100 From: Arnd Bergmann To: David Airlie , Thierry Reding Subject: [PATCH 1/5] drm: panel/sharp: add backlight dependency Date: Wed, 28 Jan 2015 14:48:05 +0100 Message-Id: <1422452889-415782-2-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.1.0.rc2 In-Reply-To: <1422452889-415782-1-git-send-email-arnd@arndb.de> References: <1422452889-415782-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:SbwDWIp9Yl9wf4eEri4DrK0DSJQWdcnVqOQG7TAwxjW7QUBpE58 H08HyPPGiOItbJTWYlCIvLZ44N0z4Vm2GS5h0rihw9FWvrwN+D2SJhv58p7pQm18ND4sbvO 7MhaOhAJCTLdPYQf7QpGDDFeXdyRo1loyRazBWNistEqpO21ph9mtNMxv0hdjOZFzDmrZ6w lL7LRp66QqOuzmSKwcKvQ== X-UI-Out-Filterresults: notjunk:1; Cc: Arnd Bergmann , dri-devel@lists.freedesktop.org, Benjamin Gaignard , linux-arm-kernel@lists.infradead.org, Mark Yao 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-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The sharp panel code uses the backlight interface to find a device, which fails when backlight is disabled: drivers/built-in.o: In function `sharp_panel_probe': :(.text+0x5ceac): undefined reference to `of_find_backlight_by_node' 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 024e98ef8e4d..84506053a7ca 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -31,6 +31,7 @@ config DRM_PANEL_SHARP_LQ101R1SX01 tristate "Sharp LQ101R1SX01 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 Sharp LQ101R1SX01 TFT-LCD modules. The panel has a 2560x1600 resolution and uses