From patchwork Wed Apr 19 18:03: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: 9688593 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 47B62602C9 for ; Wed, 19 Apr 2017 18:08:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3F495283E8 for ; Wed, 19 Apr 2017 18:08:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 33A3B28433; Wed, 19 Apr 2017 18:08:50 +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 200C1283E8 for ; Wed, 19 Apr 2017 18:08:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C24B16E2DB; Wed, 19 Apr 2017 18:08:47 +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.17.13]) by gabe.freedesktop.org (Postfix) with ESMTPS id 233B06E2DA for ; Wed, 19 Apr 2017 18:08:45 +0000 (UTC) Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.145]) with ESMTPA (Nemesis) id 0LrsTu-1c1kpx2ABi-013gpz; Wed, 19 Apr 2017 20:03:23 +0200 From: Arnd Bergmann To: Thierry Reding , David Airlie Subject: [PATCH 3/3] drm/panel: add backlight dependency for sitronix-st7789v Date: Wed, 19 Apr 2017 20:03:08 +0200 Message-Id: <20170419180326.303994-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20170419175939.189098-2-arnd@arndb.de> References: <20170419175939.189098-2-arnd@arndb.de> X-Provags-ID: V03:K0:TnxKNZV8YEoF4C2avJ0GyUNoJEw4t3jj4DZH2hlQAMipZBeuVD7 cCga2+pGHJuLlPrltTrz4059higt03prHNoOfa5zmjnIBgWTspF0t3jPmeaCpzQSSgJSxYz efnwYkPaX30MQKPAr4KfviKW6552k0HEQ+eROGJS9p3iOr0BdFySNIuidbV/BEpVtS4iTh6 AsHrurGIdD7r0VVb1W9xQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:0dxWt9Di5xc=:2qz74e2sLEBo24kY5UZdwF UNmKiNr2wtcBYfXPeJd3BDD7XQcAm74XQxHsmFnBJVeRBdw/oeY0K/kAf1gtQWQDj63b5tVeM 44gdKlSd8cCaHqUMlG6/rtcDLdHjUkEYsPQpcRv7OfXg2lvuSAxhqYRLRAAxmpGSZVI5OBvRG C92EJySDBlu5IovSp0A3V/qd/rr2PN5FdvvogaI1bJHz0pxOalLkZWu5OuJF97cgCLdJxklnf H5YuvZIyItG2yddisg3NvFC9AsuSlochGu2vbTeGVKi7q2LsKYyf4lO6rpMBdwuXdRuzwt4Qz r0O5IpmFc/jZMTqInmaLl1JV5e35weH1R+fpEiT6Kc3XuyHM2tjbmX96yMmOS/GPQSmDTvNk2 rO+vFEgagVFFnPYy1S9o+ALCcjp9QtmAvQmlQkcpeNmdzAwJsM6lKcJOKOI3dCuF/N6PrFm3l IEcG1RRx7tZWi/y4UFyKXJCzQT3DzOU25Z4X9f+sDntqYgEH0KEYCaJYOUxJVwxzX42/cFWQN f5qqFNtURs9Cp5uJhEt6GYzhXeC0dxUovl8eP9xbZcoCevccTqhovqrrMwzO6nL28ru13HMTV dXcwXt6WqpA/ypZ6A7RRPgvKaTyHwK5P4jnJbEpwR2Ci4SZyhk9PanJZFP/OTs7bf5jnbzHBn uIDXpOyDdI1znEiKDHUKBa/MHOkDE76oS0DNOH5ubqLU95zsRpzCpkUk6OqJaRjV+1o8= Cc: Laurent Pinchart , Arnd Bergmann , Donghwa Lee , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Maxime Ripard , Hoegeun Kwon 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 Without the dependency, we run into a link error: drivers/gpu/drm/panel/panel-sitronix-st7789v.o: In function `st7789v_probe': panel-sitronix-st7789v.c:(.text.st7789v_probe+0xc0): undefined reference to `of_find_backlight_by_node' Fixes: 7142afb3a186 ("drm/panel: Add driver for sitronix ST7789V LCD controller") Signed-off-by: Arnd Bergmann Reviewed-by: Hoegeun Kwon --- 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 6eb9774284df..04d068177e16 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -101,6 +101,7 @@ config DRM_PANEL_SHARP_LS043T1LE01 config DRM_PANEL_SITRONIX_ST7789V tristate "Sitronix ST7789V panel" depends on OF && SPI + depends on BACKLIGHT_CLASS_DEVICE help Say Y here if you want to enable support for the Sitronix ST7789V controller for 240x320 LCD panels