Received: by 10.223.176.5 with SMTP id f5csp1026265wra; Fri, 2 Feb 2018 09:56:22 -0800 (PST) X-Google-Smtp-Source: AH8x226LqJlwWDAweQcHMTol84WWi60DQscMvsZLlB1l4I6xCLbV6rJWfr7bibrySof7dTasUKcQ X-Received: by 10.98.254.21 with SMTP id z21mr40893145pfh.48.1517594182530; Fri, 02 Feb 2018 09:56:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517594182; cv=none; d=google.com; s=arc-20160816; b=M5Czq4pN0iVrhOXwlpnqlvvN0o6YqGsI8+KLaTmJdaXvotU7A/kA5AoRGhfi+E8yf1 TI/V5Ie2qrJkuJQNu2a9dYGcVUh1D7SegMFdwAesks0pkGS71KU8phISyW986kPcSVij ccg33kfl85rWkls9e7Jjue3qHFz4aQKs73sgIxvWo03yBXXJtzxxq1nOOF9Ugz6T5v1i yZHAMeISjqgA/CDfCt7/+irtlgP9RywWQl2L3F1qlBVVp1ZybrBIAQ11q8a3wuVT+hHz uHlQKpUfWk8UI1QDkjS/swvFHgrJfdHc/iNfH0kqA+7dP/y54N08MxEL22gPUqGFqIqP O6bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Lu/c/etmliPGLsg38biFZ6VU56oxhscPDIfFWPPur0I=; b=Vbk+fgPvoceF7f8V2HpZp6dvM5sUls9F9YRRjQHLgullkp1xi9shZdQhzhw6J6LPSX JOU+h4BmAHeUpABCYLmkSDBvNFWIOuGB9qQgiCYFER45TsIBy1TkIl/8HMjsLzB5+Fp1 WySF9Q+eF7jTsEjvfkB4lxsQ51Ema0m15LIUNTqbQXCZDmJ8P3fM0UN1m9lELLy0kQcv dKxSadkB/jO0ppIXjxa8JsoTuLLTQloZqfxktvYqZdyxjSYjXrdijhJ4hKsbdBsnTAAU qSX1BT0prN033Mf5nCKHrv6Rgum1M8UhER1Cs6xtJBJI+K0uBUS6v7AY0J85VucNWCjt PoXg== 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 p9-v6si277077pls.317.2018.02.02.09.56.07; Fri, 02 Feb 2018 09:56:22 -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 S1753307AbeBBRxa (ORCPT + 99 others); Fri, 2 Feb 2018 12:53:30 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:38924 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752776AbeBBRMN (ORCPT ); Fri, 2 Feb 2018 12:12:13 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 2E07FE27; Fri, 2 Feb 2018 17:12:12 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Tomi Valkeinen , Sasha Levin Subject: [PATCH 4.14 113/156] drm/omap: displays: panel-dpi: add backlight dependency Date: Fri, 2 Feb 2018 17:58:14 +0100 Message-Id: <20180202140845.289730292@linuxfoundation.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180202140840.242829545@linuxfoundation.org> References: <20180202140840.242829545@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann [ Upstream commit 499ec0ed5eb2f6a7fcaab2dd66ffc5993484bda9 ] 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 Signed-off-by: Tomi Valkeinen Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/omapdrm/displays/Kconfig | 1 + 1 file changed, 1 insertion(+) --- 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.