From patchwork Thu Oct 1 05:21:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 7304061 Return-Path: X-Original-To: patchwork-dri-devel@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 D7D859F39B for ; Thu, 1 Oct 2015 05:22:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 08E8420803 for ; Thu, 1 Oct 2015 05:22:01 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 23B28207FF for ; Thu, 1 Oct 2015 05:22:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 409417A0C5; Wed, 30 Sep 2015 22:21:59 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by gabe.freedesktop.org (Postfix) with ESMTPS id BF4B27A0C5 for ; Wed, 30 Sep 2015 22:21:58 -0700 (PDT) Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NVJ00LTA08J0950@mailout1.w1.samsung.com> for dri-devel@lists.freedesktop.org; Thu, 01 Oct 2015 06:21:55 +0100 (BST) X-AuditID: cbfec7f4-f79c56d0000012ee-da-560cc2f2fd18 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 3A.F4.04846.2F2CC065; Thu, 1 Oct 2015 06:21:54 +0100 (BST) Received: from localhost.localdomain ([10.252.80.64]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NVJ006UD08B1E10@eusync2.samsung.com>; Thu, 01 Oct 2015 06:21:54 +0100 (BST) From: Krzysztof Kozlowski To: Inki Dae , Joonyoung Shim , Seung-Woo Kim , Kyungmin Park , David Airlie , Kukjin Kim , Krzysztof Kozlowski , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RESEND] drm/exynos: Staticize local function in exynos_drm_gem.c Date: Thu, 01 Oct 2015 14:21:40 +0900 Message-id: <1443676900-32215-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupgluLIzCtJLcpLzFFi42I5/e/4Fd1Ph3jCDD7f0rDoPXeSyeLK1/ds FpPuT2CxeHHvIovF6xeGFv2PXzNbnG16w26x6fE1VovLu+awWcw4v4/JYsbkl2wO3B6bVnWy eWz/9oDV4373cSaPzUvqPfq2rGL0+LxJLoAtissmJTUnsyy1SN8ugStj9cGjzAVv2Sp29Dxk bGD8xdrFyMkhIWAi8frvMyYIW0ziwr31bF2MXBxCAksZJY7Nf88I4fxnlJh04z07SBWbgLHE 5uVLwKpEBBYyS3T83MYMkhAW8JLYs2U2WBGLgKrEvNt3wcbyCrhLXJ66lRlihZzEyWOTWScw ci1gZFjFKJpamlxQnJSea6hXnJhbXJqXrpecn7uJERI+X3YwLj5mdYhRgINRiYf3YApPmBBr YllxZe4hRgkOZiUR3twtQCHelMTKqtSi/Pii0pzU4kOM0hwsSuK8c3e9DxESSE8sSc1OTS1I LYLJMnFwSjUwTl3z4k7Sgc4jL73jG2+sW+c7gT8wuUrO/l2gjYbjieQ2v37G3/onBONfWE98 oHsl/3Vsv3RXbqiY2Peoq/sk6zdPDZpb/FBwsZQj/+Qj5lsfCs6q8VB7M7G5WPPwiSd2LMJf Xpz3bTh14UvGfdbAg+Yme59zFCWYlf2XYzyheyeE9+n9LxHySizFGYmGWsxFxYkAmYA1uBsC AAA= 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 The exynos_drm_gem_mmap_buffer() is not used outside so make it static. Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c index f12fbc36b120..ba9cadb9acef 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gem.c +++ b/drivers/gpu/drm/exynos/exynos_drm_gem.c @@ -313,7 +313,7 @@ void exynos_drm_gem_put_dma_addr(struct drm_device *dev, drm_gem_object_unreference_unlocked(obj); } -int exynos_drm_gem_mmap_buffer(struct exynos_drm_gem_obj *exynos_gem_obj, +static int exynos_drm_gem_mmap_buffer(struct exynos_drm_gem_obj *exynos_gem_obj, struct vm_area_struct *vma) { struct drm_device *drm_dev = exynos_gem_obj->base.dev;