Received: by 10.223.185.116 with SMTP id b49csp6203166wrg; Wed, 28 Feb 2018 05:44:20 -0800 (PST) X-Google-Smtp-Source: AH8x227/2IXMd/k7XD00B6bDXKDUXBImmDVyLFLorLTaHiJrQqiIMKcXIrSlr1QSxM7hctsVEzWg X-Received: by 10.98.163.67 with SMTP id s64mr17857442pfe.67.1519825460622; Wed, 28 Feb 2018 05:44:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519825460; cv=none; d=google.com; s=arc-20160816; b=VzJXKkaIM8cdZr5m16/pS9rDvbC8yPZc4krTTRD2ewA1nNLbnbv+ygUiUshzbmlIP0 ZK8ByDUPlAERr8x1dvKkp1ndpZk1FohSQsnVEIxoyJ8EqBBUU3Ae0eKW3Lfrr0kCKRXv /RIzq71/TLcycOFCvzU+fkYovbz/ojww1QPwc62RixNNPsz1Q8pnFxEAm0/3+O9IGyP9 bWioArGLm1K4v6PJhfWxuJengw6LoL9MJZjnXIS7MYGb3/PAgDHrVePX2f+7s7vsCKl2 ajCJhYFxhYcErYLL6/D7NP/xCx4wVWUOv6pF4QnuVCP/58L9v6Nihe8HoqcHily0Fr1O PmtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=W//a4ac27bhQcG/+VMnnC/LS6XIMm913yZNcntkcpjg=; b=f2MzzC0T3l7a1bNUHMHiTNURFZtEDeVi+6wLUQKB+oegztSb149XiT+h7OlY1GD1BC kp76LYeQhAxOGTJ6ZL8On46IMyGojzd9ClYPvrw3axt9oy9LuDDH8oEi5+HLPTifRWke SeF3o4gCij2V0fNpFc88ZChXmCaV1F7lXtZA3vWd+mWFqvf0fkktrH1FJbbfNiO+AMda p5Wd56iyA5MD3MVvItgaFPW7RZ2JvskLFd5Zn68s4bBK8GL1HYXaNqOLhslk1kzGJl4f txm2PgYcP02HdBlCRLMEEiN5mkXfUFWsIjcRBWwqQIW0cM+jyDPPs77MwK9MfctuAy7w OY3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b81si1248467pfj.331.2018.02.28.05.44.05; Wed, 28 Feb 2018 05:44:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752638AbeB1NmL (ORCPT + 99 others); Wed, 28 Feb 2018 08:42:11 -0500 Received: from mout.kundenserver.de ([212.227.126.187]:52703 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752485AbeB1NmJ (ORCPT ); Wed, 28 Feb 2018 08:42:09 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.129]) with ESMTPA (Nemesis) id 0MC5H2-1eznPG0cZE-008oJN; Wed, 28 Feb 2018 14:41:14 +0100 From: Arnd Bergmann To: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= , David Airlie Cc: Arnd Bergmann , David Lechner , Sean Paul , Linus Walleij , Meghana Madhyastha , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] tinydrm: add backlight dependency Date: Wed, 28 Feb 2018 14:40:48 +0100 Message-Id: <20180228134111.2042877-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:e/i3ftyCf7oTYTma45OqIhkCHPxtjiBYiog4qvnKHi8KBpciuRU bEFYkA9kNGnki/zAbiOXs0mftrUca6dpFg0L94gW76A8ECcKd+jUFmcU81UHtUx0sQfieLD kUTtGBjv0MN7mVL+NzvSapeMypE8iQcCvZ2+8lywM4tH/CNnrhnqgYBRJTxRoPrpsF9Z19V b4d7LKGzLrzJcFCKENjdA== X-UI-Out-Filterresults: notjunk:1;V01:K0:5dcZjLIgImc=:Wl2s6i8CF0eP8F7ZZqfeXU LDvRpy95YnUhK1Qo1lcsB3Bk9k2n4GVkuXUG0k3d5oxH7ECmFvTSZW+9/Wi0ZjRlWskVGr1/T 0vZnU7NL6Wvth9kqvpZqc0U8DcmZbitaBqOUv5bS77kUKa07q6kdCsUPBT1ZIdYUYpQFwlW0i 5voiTa7byOaCtatdRTJPpUd1QxaOi1iyBYLY/R+U+BilmMTv2OrCkZr3+QwbXPBMa3UpJX9Qu m5aHYRNfm/xS6lQT4Ux8+B11FZ+ieGySTqIX4eIjmxP1+MrO6nF0kEwWN85VT42t4S6vi44To 3Vj81xDFZEe4ydSt57mWsaDkHFC6kyHD4/iW0b2VjPl/HhREttS4JmQg9u+WMQP+wpfZL+0s/ LUleNptWl/URQd8M3cPLSJ9pP2QGs8mZS6+D076TMdn9PG1TkklfcBp6AZXnmrliC2eAk3xdC UCwfCSA/RUTM6SXs1keDGZbyIrnD/tG6w0r0QHKakcm0GrmvUIs1jdLZ737mHM4f6OTIJWGUS dTmDGgMj0z0mS7lXhYD+TYccSOo3pX5JiAcrf+dY7m9tmZk1QYA9bsoi1aSq9Dvok3kqRxTzk hgf7AzpEs/R8A4+qH+jyVnrF8cXrnpYtNz3ml7nc9FrHw7sw1pP86SEtF57oVNrpCc7g0Vzs4 4Hf0IRUGe8K7VRpSKKfyVXK2dC9sjYcm8UsVYNJZeM9tnzKdZRmKbCY9ik9vqQjqODiRgah8n fVPunkB8Pd66ZOa//Nr4hGMFozMNyHNvlKrDlw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Calling devm_of_find_backlight directly means we get a link failure without CONFIG_BACKLIGHT_CLASS_DEVICE: drivers/gpu/drm/tinydrm/mi0283qt.o: In function `mi0283qt_probe': mi0283qt.c:(.text+0x684): undefined reference to `devm_of_find_backlight' This adds an explicit Kconfig dependency for it. While I did not observe that failure for st7735r, I assume the same change is needed there for the same reason. Fixes: d1a2e7004b5e ("drm/tinydrm: Replace tinydrm_of_find_backlight with of_find_backlight") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/tinydrm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/tinydrm/Kconfig b/drivers/gpu/drm/tinydrm/Kconfig index 13339be843bc..4592a5e3f20b 100644 --- a/drivers/gpu/drm/tinydrm/Kconfig +++ b/drivers/gpu/drm/tinydrm/Kconfig @@ -23,6 +23,7 @@ config TINYDRM_ILI9225 config TINYDRM_MI0283QT tristate "DRM support for MI0283QT" depends on DRM_TINYDRM && SPI + depends on BACKLIGHT_CLASS_DEVICE select TINYDRM_MIPI_DBI help DRM driver for the Multi-Inno MI0283QT display panel @@ -54,6 +55,7 @@ config TINYDRM_ST7586 config TINYDRM_ST7735R tristate "DRM support for Sitronix ST7735R display panels" depends on DRM_TINYDRM && SPI + depends on BACKLIGHT_CLASS_DEVICE select TINYDRM_MIPI_DBI help DRM driver Sitronix ST7735R with one of the following LCDs: -- 2.9.0