Received: by 10.223.176.46 with SMTP id f43csp250646wra; Tue, 23 Jan 2018 20:17:32 -0800 (PST) X-Google-Smtp-Source: AH8x224o5T9Col9HdWqLRCGtQSYvrdqsnXRwpdZ3UdUS2EAi40Htme5Ic/nPepKHXzycIEuyj0nE X-Received: by 10.98.110.202 with SMTP id j193mr11783820pfc.19.1516767452766; Tue, 23 Jan 2018 20:17:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516767452; cv=none; d=google.com; s=arc-20160816; b=YrRN0O+3VNpDjhF9hbsbmxDtqwCGNvjqx+Eyt6/Znl3W5zmTcQekcIvTHYglkS9auW bQwD1omVmphIEBd6Le+vRFw6zi+7UkoXiOletdHeiIhy2d7aGOCXDnlwFOgGelcMLjy2 kN2yM3lfQAaisVIWTkuubXVyMsRK74GREzYF5Q8tZIP6M43PghsnwNE8pVEpNbXYT1Ef 8fQdqZqlRR25IDOy8EqP+ViBIYfjpAvAi9dMLwB/KwZMUseyQ/QMkz3ESIXi0WNkmzrx J+YyO6j8YMQsVSLXNlNUjFR7ECPZGnAMBKKfkQU8p0Aj0oyhxVNXhpe+Qaim6s1GKDKr 4ykw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=pI21bF5L9UqTPk5P2693PTUpHBXEzJwiQr2auChbmr8=; b=PcSmA11S/OArCke5hIVN3f8Ng+6nfsNV5QQEwa8UwB+CY/m7ntzMWT3VUR+s/cBM6K HUZJWy6oMd7OmDK8L0XMsKUX1UYv18ghRUDHvRBAfkndSHUoZcpx/EDd3E2B7kSMam0V nkw83rct7ReaLZ+OpH7aWj6G2erEIAmrXL5r0JPxlvwSr6ZCe9EfEM5iGxX7LlaKEdj+ PuZXYMIWa2+RyChLUd31Mpvn9ezhByElNEMPkElzbSGDQ8RQQjLkpxYFNGFr9r7ZNcIr sYsDDAYWQliwRXbWFo0+YOAcLFO2GOnAHcyOPIEuVXc7E2KjNiZdH40hJvGamUoXi6Ti jKRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=JryIT0Ci; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i7-v6si5494635plt.572.2018.01.23.20.17.19; Tue, 23 Jan 2018 20:17:32 -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; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=JryIT0Ci; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932591AbeAXEQR (ORCPT + 99 others); Tue, 23 Jan 2018 23:16:17 -0500 Received: from mail-by2nam03on0132.outbound.protection.outlook.com ([104.47.42.132]:45413 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932430AbeAXEQM (ORCPT ); Tue, 23 Jan 2018 23:16:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=pI21bF5L9UqTPk5P2693PTUpHBXEzJwiQr2auChbmr8=; b=JryIT0CilldLUbm3IYAqcu+luEqMjwpEA1JJRTtq2Rqbeb6cB1Wdg2ovGytmSzfKpkWmKBmGTrkexvRFGL03+qeaUsMBmvXNcm+uP/Mag9eHc7TZlMk+rv63UeW85z3Cz3OfYsUdTyaRoRTl4pl4iokbmJ2GYROFBxv8XZW951I= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB1078.namprd21.prod.outlook.com (52.132.130.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.464.1; Wed, 24 Jan 2018 04:16:04 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::6485:b98:d15e:9da7]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::6485:b98:d15e:9da7%2]) with mapi id 15.20.0464.000; Wed, 24 Jan 2018 04:16:04 +0000 From: Sasha Levin To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: Arnd Bergmann , Tomi Valkeinen , Sasha Levin Subject: [PATCH AUTOSEL for 4.14 087/100] drm/omap: displays: panel-dpi: add backlight dependency Thread-Topic: [PATCH AUTOSEL for 4.14 087/100] drm/omap: displays: panel-dpi: add backlight dependency Thread-Index: AQHTlMnsOvbhDjrqXUGZi6Lz/nRG4Q== Date: Wed, 24 Jan 2018 04:15:10 +0000 Message-ID: <20180124041414.32065-87-alexander.levin@microsoft.com> References: <20180124041414.32065-1-alexander.levin@microsoft.com> In-Reply-To: <20180124041414.32065-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB1078;7:zif5EyWIB/q0hI7uI1pT7DY9JCXn6TssZWE8g2O4z0046hLFz6yDkGWKKUotVH38769g+KDf8v9ynukctmUH1hTgsU00hIy1XKNqYfTXzCRJPYvhn+vUkWgVB/WtSs+hA8y2S+56v9KHpV6O3wJLrKyFXiriRlCwR2avC4SafVEzlsUeXq7alLKb49NbiW9GYKGpxy03GBLQIE2cZN9F3KSXOxLUsJ1dBXtFHQ4euX7pyNYxmR50b82oIL++6SzK x-ms-office365-filtering-correlation-id: 478557a8-88c7-427a-ed7f-08d562e12f93 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603307)(7193020);SRVR:DM5PR2101MB1078; x-ms-traffictypediagnostic: DM5PR2101MB1078: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(31051911155226)(89211679590171); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040501)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(3231046)(2400081)(944501161)(6055026)(61426038)(61427038)(6041288)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:DM5PR2101MB1078;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB1078; x-forefront-prvs: 056297E276 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(346002)(39860400002)(366004)(396003)(39380400002)(199004)(189003)(86612001)(22452003)(6436002)(106356001)(107886003)(102836004)(105586002)(305945005)(5250100002)(2501003)(14454004)(3280700002)(4326008)(7736002)(97736004)(59450400001)(6512007)(36756003)(8936002)(2950100002)(3846002)(6116002)(6506007)(86362001)(54906003)(76176011)(110136005)(2906002)(6666003)(53936002)(66066001)(72206003)(6346003)(5660300001)(8676002)(478600001)(10290500003)(68736007)(81156014)(10090500001)(1076002)(3660700001)(25786009)(316002)(2900100001)(99286004)(575784001)(26005)(6486002)(81166006)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB1078;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: 8jRHq8Yfiw1MXDm+NPmzvwm9/5p5gWigiBjr+/LWwLEpCIFSjEU+NZiQkkQJohHlsLYv7xcrqPKB7uVuhWQ+AQ== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 478557a8-88c7-427a-ed7f-08d562e12f93 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jan 2018 04:15:10.4364 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB1078 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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_nod= e' This adds a Kconfig dependency like we have for the other OMAP display targets. Fixes: 39135a305a0f ("drm/omap: displays: panel-dpi: Support for handling b= acklight devices") Signed-off-by: Arnd Bergmann Signed-off-by: Tomi Valkeinen Signed-off-by: Sasha Levin --- drivers/gpu/drm/omapdrm/displays/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/omapdrm/displays/Kconfig b/drivers/gpu/drm/oma= pdrm/displays/Kconfig index c226da145fb3..a349cb61961e 100644 --- a/drivers/gpu/drm/omapdrm/displays/Kconfig +++ b/drivers/gpu/drm/omapdrm/displays/Kconfig @@ -35,6 +35,7 @@ config DRM_OMAP_CONNECTOR_ANALOG_TV =20 config DRM_OMAP_PANEL_DPI tristate "Generic DPI panel" + depends on BACKLIGHT_CLASS_DEVICE help Driver for generic DPI panels. =20 --=20 2.11.0