Received: by 10.223.164.202 with SMTP id h10csp348060wrb; Mon, 6 Nov 2017 07:37:26 -0800 (PST) X-Google-Smtp-Source: ABhQp+Sd49/ILGvXxs9s1L0ffVh6PWL3x9eOJ5lMtoTVkofmbxxgDLyWxKyxXpi5xhry0BM5EQc4 X-Received: by 10.99.96.200 with SMTP id u191mr16156335pgb.307.1509982646098; Mon, 06 Nov 2017 07:37:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509982646; cv=none; d=google.com; s=arc-20160816; b=SXyzU7bjyukPfm2QuDIoj5Nb4nf8sbqhloDl35E16m2XiJZBiaRD5Acf3kQkrILKcV n8oN1m1PDzTVgz6Yggd+OSYYMoOF4fkKiLhAOXKXU0RtP1C2nVKq9UiEuYQmhVjJ+yts WlZtdgk5fBjBNkiE6Ej2hIdVaBm+2p1UOdY2vPuZIcrUF0Bo73ZYJaN/82LHkTgLMPQ0 eFlFarOLrYMS3L11tV8v/JQgYkztqcIomx8rHOcuYLgE6CTPkE4bKMRSncRsWiTDTM38 1GsqutyU8yq4UKzm8YYAlE8DMvArS/TvoBft+KyBGvJCRXMxgM94uaQWZ6xkuZANDzyR tReg== 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=3Xl1Q7gKsZLW6YPgwifCcEL8iZ8IuPyGinNsaSlZgRI=; b=PBhaEsI9jug1NDls4DJQtoT7+03tKlTVOrUc5DdrOmuJLvoxD/ZCCtPj/T2ouTAOLT 8Y/idTWlUOj8070e7lFpIaL7gp9dAmp5FbT1lR8N3jo5Lf/n+l+9x+X2pqVugZD1su2s 4e51OjWEpZQtHFf5yiWZ/JWz1XC+2HB0+zenXK8mr/moErDM4fVwB+Naybd27KUXVjrf kai4WLf2LJCDzVGn0fBvgwbw3XUyodjrY+CYsAh27p/0tp9SR5Lbdh6ItUe8Mh1nCWy6 cwNdGtkelB+57NMBYeV/VvjFZLhrfbnLjGFM+ThPWxdCoiU25L3pbs2ETQCdbLHma0LM 8IKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=kssTg6dB; 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 q190si11222920pga.462.2017.11.06.07.37.11; Mon, 06 Nov 2017 07:37:26 -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=kssTg6dB; 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 S1753939AbdKFPge (ORCPT + 97 others); Mon, 6 Nov 2017 10:36:34 -0500 Received: from mail-yw0-f196.google.com ([209.85.161.196]:44643 "EHLO mail-yw0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752855AbdKFPgd (ORCPT ); Mon, 6 Nov 2017 10:36:33 -0500 Received: by mail-yw0-f196.google.com with SMTP id k11so8155472ywh.1 for ; Mon, 06 Nov 2017 07:36:33 -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=3Xl1Q7gKsZLW6YPgwifCcEL8iZ8IuPyGinNsaSlZgRI=; b=kssTg6dB9ZgBEyFGMjttOqJz/oHKIigZRhpIEl4eUWNDZhSeBaBOyRuUnOLHOP1MI2 phxtAKHJoAlqmMZoXL8ydu4VftoxRqbXT8iv6DVj/R2q/rpJBTI0mI+6wsXC1/4DpX4W Ut3F/4TJsVcc3Kf93YVc/rD59nWiu8a0xypMc= 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=3Xl1Q7gKsZLW6YPgwifCcEL8iZ8IuPyGinNsaSlZgRI=; b=ms6BPUOouxLujtUVPmfAf6wad0N1oYjo6FP4+hLzhcJ/oDoAnF39vYKYwk7aAsQNYN Izuo1jg26F88CyPSM9WyuzrU9JVOyqb0+snOj2hAjHkApg+yZRERjCM5Doo30Ms5+cSK ir9kavzs9rLuihjlUHAJ+Xmej9xBYnui2glLm1NgCMn6rciEh7pHF7XW22iOP686O8ah gRzzliiU78bbH1tTNAxbcTj2wTOuhSmvy9oAdpXkvWrWNzY/XgVUTEP5h5EN9no6I06y PDhW9cphLBqFxvTGIjLvCn0b5koHX68DO4sQaCfMs0qmbhmgMtaS9Ay/iOMJVmZULt2/ Ai/Q== X-Gm-Message-State: AMCzsaUU8aG9COnMYVhQrkTmKjIONOdNllGJ5NppYNa/GvhNEzaa1dBN fMfbNCS5VwlY/Ol6hSINSmtI/Q== X-Received: by 10.129.67.22 with SMTP id q22mr9707666ywa.439.1509982592976; Mon, 06 Nov 2017 07:36:32 -0800 (PST) Received: from localhost ([2620:0:1013:0:f685:3152:9ba1:429a]) by smtp.gmail.com with ESMTPSA id f2sm6051338ywe.25.2017.11.06.07.36.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Nov 2017 07:36:32 -0800 (PST) Date: Mon, 6 Nov 2017 10:36:32 -0500 From: Sean Paul To: Arnd Bergmann Cc: Mark Yao , David Airlie , Heiko Stuebner , Sean Paul , Guenter Roeck , Chris Zhong , Sandy Huang , Jeffy Chen , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/rockchip: add CONFIG_OF dependency for lvds Message-ID: <20171106153632.nl5av3wnoq632f3o@art_vandelay> References: <20171106135852.1355487-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171106135852.1355487-1-arnd@arndb.de> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 06, 2017 at 02:58:43PM +0100, Arnd Bergmann wrote: > Build-testing on randconfig kernels revealed a dependency in the > newly added lvds sub-driver: > > drivers/gpu/drm/rockchip/rockchip_lvds.c: In function 'rockchip_lvds_bind': > drivers/gpu/drm/rockchip/rockchip_lvds.c:380:24: error: 'struct drm_bridge' has no member named 'of_node' > remote = lvds->bridge->of_node; > > We could work around that in the code, adding a Kconfig dependency > seems easier. > > Fixes: 34cc0aa25456 ("drm/rockchip: Add support for Rockchip Soc LVDS") > Signed-off-by: Arnd Bergmann Thanks for the patch Arnd, I've pushed to drm-misc-next-fixes. Sean > --- > drivers/gpu/drm/rockchip/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/Kconfig > index 3c70c6224bd2..0ccc76217ee4 100644 > --- a/drivers/gpu/drm/rockchip/Kconfig > +++ b/drivers/gpu/drm/rockchip/Kconfig > @@ -60,7 +60,7 @@ config ROCKCHIP_INNO_HDMI > config ROCKCHIP_LVDS > bool "Rockchip LVDS support" > depends on DRM_ROCKCHIP > - depends on PINCTRL > + depends on PINCTRL && OF > help > Choose this option to enable support for Rockchip LVDS controllers. > Rockchip rk3288 SoC has LVDS TX Controller can be used, and it > -- > 2.9.0 > -- Sean Paul, Software Engineer, Google / Chromium OS From 1583325461642585509@xxx Mon Nov 06 14:00:27 +0000 2017 X-GM-THRID: 1583325461642585509 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread