From patchwork Thu Nov 5 11:15:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 7565411 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 DEB1EC05CA for ; Fri, 6 Nov 2015 02:08:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 04B41207C1 for ; Fri, 6 Nov 2015 02:08:45 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id E528F20800 for ; Fri, 6 Nov 2015 02:08:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 73C4C6EB4B; Thu, 5 Nov 2015 18:08:41 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from condef009-v.nifty.com (condef009-v.nifty.com [210.131.4.246]) by gabe.freedesktop.org (Postfix) with ESMTPS id 50A9B6EA28 for ; Thu, 5 Nov 2015 03:24:34 -0800 (PST) Received: from conuserg012-v.nifty.com ([10.16.229.199])by condef009-v.nifty.com with ESMTP id tA5BFcdx026097 for ; Thu, 5 Nov 2015 20:15:39 +0900 Received: from beagle.diag.org (KD036012008038.au-net.ne.jp [36.12.8.38]) (authenticated) by conuserg012-v.nifty.com with ESMTP id tA5BEw52006852; Thu, 5 Nov 2015 20:15:28 +0900 X-Nifty-SrcIP: [36.12.8.38] From: Masahiro Yamada To: linux-kernel@vger.kernel.org, Philipp Zabel Subject: [RFC PATCH 5/7] drm/sti: replace "select RESET_CONTROLLER" with "depends on ..." Date: Thu, 5 Nov 2015 20:15:26 +0900 Message-Id: <1446722128-11961-6-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1446722128-11961-1-git-send-email-yamada.masahiro@socionext.com> References: <1446722128-11961-1-git-send-email-yamada.masahiro@socionext.com> X-Mailman-Approved-At: Thu, 05 Nov 2015 18:08:38 -0800 Cc: Masahiro Yamada , Vincent Abriou , Benjamin Gaignard , dri-devel@lists.freedesktop.org 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 RESET_CONTROLLER should be select'ed by SoCs that support reset controllers. Use "depends on RESET_CONTROLLER" to describe dependency between two drivers. Signed-off-by: Masahiro Yamada --- drivers/gpu/drm/sti/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/sti/Kconfig b/drivers/gpu/drm/sti/Kconfig index fbccc10..27daa8f 100644 --- a/drivers/gpu/drm/sti/Kconfig +++ b/drivers/gpu/drm/sti/Kconfig @@ -1,7 +1,7 @@ config DRM_STI tristate "DRM Support for STMicroelectronics SoC stiH41x Series" - depends on DRM && (SOC_STIH415 || SOC_STIH416 || ARCH_MULTIPLATFORM) && HAVE_DMA_ATTRS - select RESET_CONTROLLER + depends on DRM && (SOC_STIH415 || SOC_STIH416 || ARCH_MULTIPLATFORM) && \ + HAVE_DMA_ATTRS && RESET_CONTROLLER select DRM_KMS_HELPER select DRM_GEM_CMA_HELPER select DRM_KMS_CMA_HELPER