From patchwork Thu Feb 22 16:24:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 129293 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp774267lja; Thu, 22 Feb 2018 08:24:41 -0800 (PST) X-Google-Smtp-Source: AH8x226H/DAZNtnapXu6xHfypAi6XzG3COo/ubS36r8BTNyV9Y+QGKx8aarllxXiQqAWYK0qTXX0 X-Received: by 2002:a17:902:7290:: with SMTP id d16-v6mr7237514pll.303.1519316681150; Thu, 22 Feb 2018 08:24:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519316681; cv=none; d=google.com; s=arc-20160816; b=Uap7uVwsnXpVIOpG+FSB51pt4R2i2yIg7Nk6Q404OgqpIbdp0vQnnnqsOQICTR0aVT 6IKDBVsMpRa7r8fQSobkYCnzi55nDRBcq7391SzAVobmyr0ok/xKhHvkogaBx6X7KK67 op2JSmBmtxgi7RnJPdXdYUSV1MuExevquGGs2of6jf0E9nKO21TcqlvHSO0jP+PviQiF rjPqZi0PZ7XiKVOmcfwl5LrGAjxBFDi1Xe2QhEfMDgaeLmqlk1M664OjwF5DiBuVyC7l X1zuhAom6rvI+om+DOb9fPdybN2nEeW8+iCk9cBOOpSN5dzXgsCLpI7CtONyFNHvYwyY fLCw== 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=H+bF/8rHKWI6v3UfCpd5su6nBWz4DE567HmFCaRfuoI=; b=LRF8kac9I7Oxpb+Zi47OOS09jnt3nTZYYIYgwX21EJ2aWapGFCqqWgyIAOppT/KZuq CPAzg5HLwLQHB60E0sWkfAbkDR4Sbl0TTROfRFoY9PvX556EFoCtY0nwRHn8P6IaCMO9 kvnpywNX3jFAweop0+WQRRu7++uHRC/VetKLtWYEXbbhPt90pe+rjZfejTaKnVYgNg0m PGkN5Zre4XHaQN38etBeLO/OiqUlUQtrW/53xGBJgXtF/Kt02+xmW5Lo3v6Sr6mFuQum O4xXoDN6TTx0XwguWBbndTEjqwtGMtB6zjTM/zFGXKMRxp0+L3h8xvHSmp+wd+q7mF9y 2+JQ== 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 1-v6si258385plk.504.2018.02.22.08.24.40; Thu, 22 Feb 2018 08:24:41 -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 S933396AbeBVQYg (ORCPT + 28 others); Thu, 22 Feb 2018 11:24:36 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:49003 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933144AbeBVQYe (ORCPT ); Thu, 22 Feb 2018 11:24:34 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue007 [212.227.15.129]) with ESMTPA (Nemesis) id 0MFE0F-1ezatp3WBf-00GL4V; Thu, 22 Feb 2018 17:24:23 +0100 From: Arnd Bergmann To: Eric Anholt Cc: Arnd Bergmann , David Airlie , Linus Walleij , Daniel Vetter , Stephen Boyd , Tom Cooksey , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/p[111: add CONFIG_OF dependency Date: Thu, 22 Feb 2018 17:24:12 +0100 Message-Id: <20180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Kh/r wpXE7ZjUcrLsUAAyEqSJeKNypYH7Dy/Ap2IRcw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We cannot select a symbol without meeting its other dependencies: warning: (DRM_PL111) selects DRM_DUMB_VGA_DAC which has unmet direct dependencies (HAS_IOMEM && DRM && DRM_BRIDGE && OF) drivers/gpu/drm/bridge/dumb-vga-dac.c: In function 'dumb_vga_probe': drivers/gpu/drm/bridge/dumb-vga-dac.c:207:13: error: 'struct drm_bridge' has no member named 'of_node' vga->bridge.of_node = pdev->dev.of_node; ^ Here it seems reasonable to depend on CONFIG_OF, as all platforms using this driver already require that anyway. Fixes: 49f81d80ab84 ("drm/pl111: Support handling bridge timings") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/pl111/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 diff --git a/drivers/gpu/drm/pl111/Kconfig b/drivers/gpu/drm/pl111/Kconfig index 82cb3e60ddc8..776448e8d4ee 100644 --- a/drivers/gpu/drm/pl111/Kconfig +++ b/drivers/gpu/drm/pl111/Kconfig @@ -3,6 +3,7 @@ config DRM_PL111 depends on DRM depends on ARM || ARM64 || COMPILE_TEST depends on COMMON_CLK + depends on OF select DRM_KMS_HELPER select DRM_KMS_CMA_HELPER select DRM_GEM_CMA_HELPER