Message ID | 20160810215424.1926658-5-arnd@arndb.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org> 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 64E80600CB for <patchwork-linux-mediatek@patchwork.kernel.org>; Wed, 10 Aug 2016 21:57:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 53E6C28409 for <patchwork-linux-mediatek@patchwork.kernel.org>; Wed, 10 Aug 2016 21:57:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 48AC32840F; Wed, 10 Aug 2016 21:57:22 +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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 09EE028338 for <patchwork-linux-mediatek@patchwork.kernel.org>; Wed, 10 Aug 2016 21:57:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bXbV3-0007mV-63; Wed, 10 Aug 2016 21:57:21 +0000 Received: from mout.kundenserver.de ([212.227.126.135]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bXbUz-0007Ry-Qg; Wed, 10 Aug 2016 21:57:19 +0000 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue005) with ESMTPA (Nemesis) id 0MLT3m-1bX3G90mLi-000exX; Wed, 10 Aug 2016 23:56:47 +0200 From: Arnd Bergmann <arnd@arndb.de> To: David Airlie <airlied@linux.ie> Subject: [PATCH 4/9] drm/mediatek: add CONFIG_OF dependency Date: Wed, 10 Aug 2016 23:54:10 +0200 Message-Id: <20160810215424.1926658-5-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160810215424.1926658-1-arnd@arndb.de> References: <20160810215424.1926658-1-arnd@arndb.de> X-Provags-ID: V03:K0:gSzM6o94HvTmSBzbq5jUOhLIkv4lJJnCJIyzoar9e5zaT01xTTV OUIqc1i26QCwpVPTbUlmHIRqschyHfxUwYm+y4vuKtBG1Jm7/23ke8a9mqXcqItvwCX7kNr IcG90ZmD7hbC7V5QN6h9F4+iuLTYGlNJVRR6Sm+SqWRexrMydiv2+yDQ7N5RDXwW1uLKW+s YB/c9x8x0QnQVz8aAdkoA== X-UI-Out-Filterresults: notjunk:1; V01:K0:/5MbaBeKlLM=:9Z2RAQwyazhxIN60KVaurH iNwkfWwATy9ljMNEKYbcNHg13/W5oB7jE/Hq5505gJ3y0cOGyMOS6cCaz8NMRPFE2M3Qd/++1 uWlO2AlbOnZC35HM3zRE96qdlDuMzoCpiZWVW6kITFE2vF7mxH62YExWc7AaSAhhuPa+HINdp JAsgI/Nc7CnN/w9FZdRJfu0rOR24bU+SSIqI3v163rLR3EFF+JQQcaLOGh3maebtwkhBhz+BC z9nNyhMsg7XOXvJRNNf2Ne8+h7D+b+fww/Ealduh+6PBbcS3HuVX084ETPQ+7dfQtUKDiBl8X u1G0PSf2rEvXKRCy6a6dRtzuzOyFu04sI/x7YAh13l7m8+NoN8YYNDRbKS5NUAqKV5SOIdw7p 3lyk760pEyAhFSALSWwGH8jQdAElFck3H5wZGgPutUz5GayU+dB2g45VQe+Ei8so8/tr8vQ4M wEZSJkPC/wxHK8q17+dcYN4p3dxoWYoBZtLr2jX2dEm7LdPTE8QkwydBpPQkpDrX1Nqwyc31Y l90yncHp3TWuN2TUc4uFtWMfdSbXHAL/Pe44zcNBSj7pHZdbXGXJKxFEOtf4Ra9ICpt5GI12A GrxbaEI4A4N7WbI0Yg98QHsg+iRd5v+yLe72crtv9TLLHnhyWKbvUIuogD0Qaf8xQ+hUtjQHq SoZehmTL+mK2I10KW8GUo9ErKMm6xq/X8cZuMfAsRrCPC+G15gRYJSZ9bWD9QvQboy2E= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160810_145718_328574_3FF51303 X-CRM114-Status: GOOD ( 11.08 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-mediatek.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>, <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/> List-Post: <mailto:linux-mediatek@lists.infradead.org> List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>, <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe> Cc: Arnd Bergmann <arnd@arndb.de>, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, Philipp Zabel <p.zabel@pengutronix.de>, Matthias Brugger <matthias.bgg@gmail.com>, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org> Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/gpu/drm/mediatek/Kconfig b/drivers/gpu/drm/mediatek/Kconfig index 5c2163737691..96ebf8bb6024 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
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 <arnd@arndb.de> Link: https://patchwork.kernel.org/patch/9120871/ --- I originally sent this on May 18 when the driver was newly added, but my fix never made it. --- drivers/gpu/drm/mediatek/Kconfig | 1 + 1 file changed, 1 insertion(+)