From patchwork Wed May 18 16:07:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9120791 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E752F9F1D3 for ; Wed, 18 May 2016 16:08:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 07BD12035D for ; Wed, 18 May 2016 16:08:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 31FA82022D for ; Wed, 18 May 2016 16:08:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932820AbcERQIb (ORCPT ); Wed, 18 May 2016 12:08:31 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:49712 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932564AbcERQIa (ORCPT ); Wed, 18 May 2016 12:08:30 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue002) with ESMTPA (Nemesis) id 0LfbRK-1bNIbp09Iw-00pKUp; Wed, 18 May 2016 18:07:47 +0200 From: Arnd Bergmann To: David Airlie Cc: Arnd Bergmann , Russell King , Inki Dae , Joonyoung Shim , Seung-Woo Kim , Kyungmin Park , Kukjin Kim , Krzysztof Kozlowski , Matthias Brugger , Ben Skeggs , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-mediatek@lists.infradead.org, nouveau@lists.freedesktop.org Subject: [PATCH 2/5] drm: mediatek: add CONFIG_OF dependency Date: Wed, 18 May 2016 18:07:30 +0200 Message-Id: <1463587653-3035181-3-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1463587653-3035181-1-git-send-email-arnd@arndb.de> References: <1463587653-3035181-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:TzxTaKALW2zsmNu5KCMXfTZxG2oAsS7QmZh6ie8GQYenrM1rbFL 9KIHQzn2h2m6SbAoPgeQWYcjogzm4xOGaTrszP3lul+P4sHof2KV+cUn+/w7XuXT2uPpZDR SxJ/qT2sMfiSnGO5rlNJpWy14lSwL6Hab3Oabb5PPYa8bW6AKuePuTl0CBIi3n766SDyVoI pq6kPYu6eyMCQ9QgDGCRw== X-UI-Out-Filterresults: notjunk:1; V01:K0:LQI9Jfc/oOo=:lzLPgNndMW1b4fmjMOZPtQ F3xYwNhasHzcbDRYZVojmC0YazDN+nC5TMzU0720l/Vw5HmQWBXXggD8GCyzhXFPSwjzzdQXH 7Tn+TA09hCC19/o39nYVqeQj+xsT3ZykJduHB+rUuyc56n4EJ0RgqsVANXoksnELDvr0kc/2v ABoyD/4oIeG57wYq0MBIIIDRlEOCQRGQwFopmAG+o+1tKMgabbRE4rwqi+doaWJBlV2cVPxXC 773/STakk/zmv7F1V4QR1xf0CEZO0RZZGI00Qn/jDtFGaAf4BAXaimltRWOXYwInl1TsqMULy RB1Fo8hxTS4WUGf8pJSEFHqOHIp36Iice57nVtt2RwlY71De6UlXRhNlBQa/ocz9+FGtbwBka gHUpdXNIDvFNb0NBVjFPLHoD/EJeK2a85PXyhKgG7E4idArP4/bWZgbgr83tvFLcKq5o+sXWm SsHRe/qyfEPsacW+PGCWv8Ej1ZRkXkrwTBb1/eV8ijh5fVbpsuz+y2+H5IIVIVVZg5mLPNh57 KmjjVLkXrSajp2cakFjm9ufS3zHm0W7zNmEzCdbaxpTlrPxOqMGngPWEwi4BVXQO/cFU5JdI4 2HU30Fzgkdls7F82EW/L6erdu5DoY0Ds7WM6J3A6/XNb7fiLa6IRZ9oqwdmR/h1Xiuxq1YJ06 nLEXcKusA0WvLfPoSTAZo3OUj3wWWtHceZIh6R6NUzy4jnN8ZNf3YphS3GTcqvRCK9G0cxJb4 QqA1wRyigdLHOeC9 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The mediatek DRM driver can be configured for compile testing with CONFIG_OF disabled, but then fails to link: drivers/gpu/built-in.o: In function `mtk_drm_bind': analogix_dp_reg.c:(.text+0x52888): undefined reference to `of_find_device_by_node' analogix_dp_reg.c:(.text+0x52930): undefined reference to `of_find_device_by_node' This adds an explicit Kconfig dependency. Signed-off-by: Arnd Bergmann Reviewed-by: Matthias Brugger --- drivers/gpu/drm/mediatek/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mediatek/Kconfig b/drivers/gpu/drm/mediatek/Kconfig index 545973f6b743..67183e26971d 100644 --- a/drivers/gpu/drm/mediatek/Kconfig +++ b/drivers/gpu/drm/mediatek/Kconfig @@ -3,6 +3,7 @@ config DRM_MEDIATEK depends on DRM depends on ARCH_MEDIATEK || (ARM && COMPILE_TEST) depends on COMMON_CLK + depends on OF select DRM_GEM_CMA_HELPER select DRM_KMS_HELPER select DRM_MIPI_DSI