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: 10235943 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6560860209 for ; Thu, 22 Feb 2018 16:29:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62FD7287B4 for ; Thu, 22 Feb 2018 16:29:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 56DF328E65; Thu, 22 Feb 2018 16:29:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E9279287B4 for ; Thu, 22 Feb 2018 16:29:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 720956EE91; Thu, 22 Feb 2018 16:29:48 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 314 seconds by postgrey-1.36 at gabe; Thu, 22 Feb 2018 16:29:46 UTC Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) by gabe.freedesktop.org (Postfix) with ESMTPS id C68776EE91 for ; Thu, 22 Feb 2018 16:29:46 +0000 (UTC) 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 Subject: [PATCH] drm/p[111: add CONFIG_OF dependency Date: Thu, 22 Feb 2018 17:24:12 +0100 Message-Id: <20180222162420.2825703-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:C0Ve3z5kMbT8xht35nFnAXfN1DuUMBOkIx5+QP0APTPNTzMFNxl Bao3pA89Bj5Rp2vS+j6I9ug4YJX+eu+u9S6btAgS6NCK8C5vn0KUS6E21JtZriMjrlyJW2p qL6dAYipKkFMznlmrErYaJn9IMzs1kobnST4HnCGfHfExz5J3kLCrfJP+7dMyCY9Mj4pN3U QsuvZUBMRf6RdLgq/7mNg== X-UI-Out-Filterresults: notjunk:1; V01:K0:o5vA66Uf4kA=:E3iMseLk/E7xfGkAs3GkFJ SZ+eoSTkNvIk6IjsUMZrU3ZAHTbpIyMfX9k13KsWRfW9+sceqTt5fkOWb157DRxBQTpsGDSGv k1Ur+8PD/ScSARosYKwZciN0GoUnu2Pq/b5xntdrS1jmQ+l5vnVxbSnZG4G7ISO0IOBTi6o/W HlR+mq9chjbgCuuqfcEItmEGZncyvekUOKSLLxQv3ctYRgE4//QSHnIGXHzbZQx/86hnAZjpz 4AImsObofDJr9Br+xkJmVozvsst8vlp4zbGg1A2c0GLdjIe7NYh5gcrelXkYdHeLZ+dbiXY3g 6C5ZAH7pDKdd5D3nIbhQL4Wdf2Yg/L+9WOeWwQw7gulRD7Dw3laZxO9+6BpFt2zAnrBeYkBQQ hXXeD3boSQrWJoIG0T+v05txyKM+N3+wA9wjMjRl3xfUFf4mcypgBWGUn6Gd+Bi6dvlPmH+Ow aYk2S29J+gO7j9gojp8JvnL10SokXbAENsysYMJJOUL+FXFZAYVxDX5kCaI8ToBgCGUQQEhUm hxqrr5wzXzw8n9JnI4veiaCkfSakRL7OIQ3rV1rQIC2sJ+iQXLqG2jJhpuKiQatTn5491pSgA g+Vqyr7Xtz8c4iSkJTpaWEp2l9gzvPkghEFOJbL8Q7sHR8hr5oZBZuvsft8er0zO2HIIldwoM JEEHTpx1M2TFhaaHs2+aDajHzG0Qn2/sWeHY39qmM8H1R4HkSIigxPpEcFFOUNQNWBVt4oEyb iuG1Yy0u56T+Ez/tuwd7WdVvBw1sYRLDGrkgJA== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , David Airlie , Daniel Vetter , Stephen Boyd , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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