From patchwork Mon Jul 9 15:20:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10514901 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 A6574600CA for ; Mon, 9 Jul 2018 15:22:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 955B728D98 for ; Mon, 9 Jul 2018 15:22:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 88F1828D8F; Mon, 9 Jul 2018 15:22:04 +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=-5.2 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, 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 48CC928DB6 for ; Mon, 9 Jul 2018 15:22:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7C7916E24B; Mon, 9 Jul 2018 15:22:02 +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 [217.72.192.74]) by gabe.freedesktop.org (Postfix) with ESMTPS id 48BD66E24B for ; Mon, 9 Jul 2018 15:22:00 +0000 (UTC) Received: from wuerfel.lan ([46.223.138.35]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.145]) with ESMTPA (Nemesis) id 0MINPb-1ff0gN1lQF-004B2s; Mon, 09 Jul 2018 17:21:08 +0200 From: Arnd Bergmann To: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= , David Airlie Subject: [PATCH] drm/tinydrm: add backlight dependency for ili9341 Date: Mon, 9 Jul 2018 17:20:29 +0200 Message-Id: <20180709152106.990066-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K1:SilJmrmec6oMCnQqxN6VDBWQrXHvtUlaR/uBsAR4yW6WuOSR8r/ fJlrI8+SqRkZAlxI0nM+TcE1RKrUXbQe8DjZkockQCN/es3KkKE+F3hP/KADR/eg9MoKFr3 3tC1wHU86kIupDnpzGztwC6X0nK+XBF0FlarBUDeLS1nrVIK+A4U6qV9UFUmYCl3RifMQx/ XjUtuhHX6ihh490h4yA/w== X-UI-Out-Filterresults: notjunk:1; V01:K0:guVQ+d7IzCg=:Li4ELKm+Sm/R+Bgew7SXyV 2VBES4RdPILscbfPFLefqFWO19f+XDPhzi/UiddzGED97hWLbWhVvu3HxjYjPBjwtjVauAdfZ S94tqIsMmKLW1Gc4rUCpyizbNI2D8HlN6coo74iYBmlRrLfO3UFrN+rVsMvunQMmu6WmT7dkH xoCClzEF+MM+i/pgEgcZuV/1D8VLmizA3ZOjxZpdJpG/P732Vtcw0S7XjlXapf+KsFd1KG6sp ORgh9UStm9hPlU4MfcMTJL+k+0aUOSdBetLgp+vJmgZeoH0HW3N+LDvd/buSVrc2ThN/+PUbN vxh8ggVsy3YJEghspZ1F87wxbPOGnXcijovXHihES3x/9+d8bhAy8cEw2B6dZ3ezG2Z86N/C/ WlIqVWflBrKrb9EmYZqTHEfzK2ELmO9Br3cQ6k869vfCsPKzTLybLpdBhWOYH/WB0TjXFYuKP BAkuXV+scvc1h9t7cMP7MX+zV60B+5zI/xd9zMIzMLxgtJFYQ/gdvIkfc3tuxMLJXPvlBgCzF oIB00158B8LFD+aA48O4K5in5WX33FQYhE9iwfKtyAM4eDpF9wySIH0wxFDJh6pWxyGFwPMVI f94ZvaredE4npJ8WDZFZvWFU6B+SyjvifQmQeKHctdPtZgcgpW+f1B1a/T8AsZkIfSDrAI7qR LU377nzsoE8glAXTUYLBKlNiIQyq0wQ/N3Js0Y3/E1uERDvSeLmiaxxiHZMtpsQoct0s= 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, David Lechner , 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 This tinydrm driver fails to link without the backlight support: drivers/gpu/drm/tinydrm/ili9341.o: In function `ili9341_probe': ili9341.c:(.text+0x578): undefined reference to `devm_of_find_backlight' Fixes: 3fa0e8f6f960 ("drm/tinydrm: new driver for ILI9341 display panels") Signed-off-by: Arnd Bergmann Acked-by: Noralf Trønnes --- drivers/gpu/drm/tinydrm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/tinydrm/Kconfig b/drivers/gpu/drm/tinydrm/Kconfig index 7a8008b0783f..16f4b5c91f1b 100644 --- a/drivers/gpu/drm/tinydrm/Kconfig +++ b/drivers/gpu/drm/tinydrm/Kconfig @@ -23,6 +23,7 @@ config TINYDRM_ILI9225 config TINYDRM_ILI9341 tristate "DRM support for ILI9341 display panels" depends on DRM_TINYDRM && SPI + depends on BACKLIGHT_CLASS_DEVICE select TINYDRM_MIPI_DBI help DRM driver for the following Ilitek ILI9341 panels: