From patchwork Wed Jan 28 13:48:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 5728251 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B92C2BF440 for ; Wed, 28 Jan 2015 13:48:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0BA7220256 for ; Wed, 28 Jan 2015 13:48:47 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 4D52720225 for ; Wed, 28 Jan 2015 13:48:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B2A796E6DF; Wed, 28 Jan 2015 05:48:45 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) by gabe.freedesktop.org (Postfix) with ESMTP id F2DC66E6E2 for ; Wed, 28 Jan 2015 05:48:43 -0800 (PST) Received: from wuerfel.lan. ([149.172.15.242]) by mrelayeu.kundenserver.de (mreue004) with ESMTPSA (Nemesis) id 0MVqDE-1Y9lxM3LDM-00X6Tq; Wed, 28 Jan 2015 14:48:28 +0100 From: Arnd Bergmann To: David Airlie , Thierry Reding Subject: [PATCH 3/5] drm: rockchip: add reset controller dependency Date: Wed, 28 Jan 2015 14:48:07 +0100 Message-Id: <1422452889-415782-4-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.1.0.rc2 In-Reply-To: <1422452889-415782-1-git-send-email-arnd@arndb.de> References: <1422452889-415782-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:YIScnl/vKgot8ig8u4DOokcyNhevfQanHS12WZ11Czby5ujLcdU 41mj4NVsH3UUavSIcJaZvfHYxHulvYHvvzHdr76clR24zhXmP82eloy8HoYOd+Lz1eY/Xdj dwO/tjBvoww3BUFOH6BHiCzjzIyu1orIbXfgQeGeuyJOBnPk12kX1W4w2y3DzQZzYdFZ0Bn TGrrUVVUzuHqlm4fKRHGA== X-UI-Out-Filterresults: notjunk:1; Cc: Arnd Bergmann , dri-devel@lists.freedesktop.org, Benjamin Gaignard , linux-arm-kernel@lists.infradead.org, Mark Yao X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 When the reset controller subsystem is disabled, this driver fails to build: drivers/gpu/drm/rockchip/rockchip_drm_vop.c: In function 'vop_initial': drivers/gpu/drm/rockchip/rockchip_drm_vop.c:1267:2: error: implicit declaration of function 'devm_reset_control_get' [-Werror=implicit-function-declaration] The easiest solution is to add a dependency in Kconfig to avoid that case. Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/Kconfig index cb21e3821244..35215f6867d3 100644 --- a/drivers/gpu/drm/rockchip/Kconfig +++ b/drivers/gpu/drm/rockchip/Kconfig @@ -1,6 +1,7 @@ config DRM_ROCKCHIP tristate "DRM Support for Rockchip" depends on DRM && ROCKCHIP_IOMMU + depends on RESET_CONTROLLER select DRM_KMS_HELPER select DRM_KMS_FB_HELPER select DRM_PANEL