Received: by 10.223.185.116 with SMTP id b49csp6612676wrg; Wed, 28 Feb 2018 12:21:33 -0800 (PST) X-Google-Smtp-Source: AH8x2269D1lh6ORFGpwmSPIngXK/aoS3OwCg193NIlz14aawdXEpK6Jxcot8rXK9pIHxVihaTMOy X-Received: by 10.99.124.68 with SMTP id l4mr15154450pgn.225.1519849293105; Wed, 28 Feb 2018 12:21:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519849293; cv=none; d=google.com; s=arc-20160816; b=jsM1D8LtcsoE9c1wGahjSyX6MPKJw0W/gth7AAxeW8DW4t5r+oNUVLh5uSmRRsgA8Z LvwEUkMTwUNbqzn/fuQs5J+ILZVc5MCFoPrk4COEGmYwvUHR7Kiu0Xqq0/AoSQM/VMmh LlOptKYMnhXPVCHf0fO+lonm5KoPhTykotPHXNJvtxhdwYo84S56eRAH3PKc0wnCY/oH c5Gp1GwEzjZ7xfTBUyuqwjL73/Ull5zFazAjNL27fcSWFTtsWA4QTPX+fIceevSsQ2wp yUl93fyvdkBJOO7andsNHH6w0+SmNugmCdLSXXJRbs8Kkwt1NnRwVtY4rYRZVAoODKbv qbog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=hDwSQue1NDj1ovthA1k8DPIU+E8kTIGzKyyxi7bmV6M=; b=VwOXazqlMIjpapux3pbjfE2RgXf8+vI17Ex9ImUHTiFgjx900qoRgkRM8+oA4IzXxv 48j96DGaSHsqtHslzRJMh6ZeqJ9IeadBwht2FRxzISqGIxJoPyqh9WMvohDjq3VGoeL7 7lVQnnWzIyqOOOASfktUeSz13gmPd1iaiIO9ZnaWFxfwOiArHth08YxKSDVjLoVgpliB PC3KA/aXsmo70psX4k3gKQDkPQ6OdHsRECh2+VMsDUDl0lADQ8tJFXQCK0w7j7FtjvYi vxjEDNbqTcP4Qh2f1iHbMlypTLUiIGxJX1JNGjRdpT2byA9HUL5pFzuqUOx2BgBpWK+o l7Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=fX1fildh; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 9si1689131pfi.351.2018.02.28.12.21.18; Wed, 28 Feb 2018 12:21:33 -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=@chromium.org header.s=google header.b=fX1fildh; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934585AbeB1UTi (ORCPT + 99 others); Wed, 28 Feb 2018 15:19:38 -0500 Received: from mail-yb0-f196.google.com ([209.85.213.196]:37014 "EHLO mail-yb0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934107AbeB1UTg (ORCPT ); Wed, 28 Feb 2018 15:19:36 -0500 Received: by mail-yb0-f196.google.com with SMTP id u5-v6so1316848ybf.4 for ; Wed, 28 Feb 2018 12:19:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=hDwSQue1NDj1ovthA1k8DPIU+E8kTIGzKyyxi7bmV6M=; b=fX1fildhOaAa+IyoOOG7NK1MccvTKfqdgjZ2T47j8t4WbOJhR4xmvdjivheMWC6PNP tXPnIcU48g8UpIFOE6BPbByLWo6a5fxVVnqYJeFVe/ao1ppEFZI+U4DcVXWAcwGxvOig Ug/kT6KGDmVGj7LL+X/ulhUI3aLkDgm5je7b4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=hDwSQue1NDj1ovthA1k8DPIU+E8kTIGzKyyxi7bmV6M=; b=ej0jjXv9IMOBtcF8tGTemssB/mTMr5Xn79JBatKIfhrRQulgA1ysI9vzNBKj4BN+Ub i4qxzVlN0cnXYJoHs6ZA75EkuRxpRlxugycsaThcuM+iZ6kwyH7SZi98TF2BoKWUVpi9 Nyl+EnFNH0q8l49J6k8PELTc57FWnUc+rOYB6aAoOiEVa6oe9NyCdL0paQ44f5DkYOJ+ YulHRkQsjbsgwslSK4HeculRSEcR7ZWG4TCM0R3M0iraFTEH6/vuA1MYTlj+6wpvhtJS Q8CEeXcMpP9y/h2RBdpOsqwmEChTLHzvFiTR1UR38O8BgsuwaDrCCrQOeJOxTiy1TSdd 5vdA== X-Gm-Message-State: APf1xPDSdPoBwtjStRqR80IRhADoH8OpHLpqV2HwP3FUFjc6djiriGUm P4Y0ErjDwOAOqQwztOKZChm8+w== X-Received: by 2002:a25:c444:: with SMTP id u65-v6mr13192291ybf.487.1519849176174; Wed, 28 Feb 2018 12:19:36 -0800 (PST) Received: from localhost ([2620:0:1013:11:ad55:b1db:adfe:3b9f]) by smtp.gmail.com with ESMTPSA id q4sm933695ywh.1.2018.02.28.12.19.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Feb 2018 12:19:35 -0800 (PST) Date: Wed, 28 Feb 2018 15:19:35 -0500 From: Sean Paul To: Arnd Bergmann Cc: Noralf =?iso-8859-1?Q?Tr=F8nnes?= , David Airlie , David Lechner , Sean Paul , Linus Walleij , Meghana Madhyastha , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] tinydrm: add backlight dependency Message-ID: <20180228201935.GL223881@art_vandelay> References: <20180228134111.2042877-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180228134111.2042877-1-arnd@arndb.de> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 28, 2018 at 02:40:48PM +0100, Arnd Bergmann wrote: > 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 Applied to drm-misc-next, thanks! Sean > --- > 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 > -- Sean Paul, Software Engineer, Google / Chromium OS