From patchwork Thu Aug 13 02:03:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 7005391 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 66DB8C05AC for ; Thu, 13 Aug 2015 02:03:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7875C205F9 for ; Thu, 13 Aug 2015 02:03:50 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 978342060B for ; Thu, 13 Aug 2015 02:03:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7AEAE6EB77; Wed, 12 Aug 2015 19:03:48 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout4.w1.samsung.com (mailout4.w1.samsung.com [210.118.77.14]) by gabe.freedesktop.org (Postfix) with ESMTPS id CEDFF6EA69 for ; Wed, 12 Aug 2015 19:03:45 -0700 (PDT) Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NT000MM20E5QD20@mailout4.w1.samsung.com> for dri-devel@lists.freedesktop.org; Thu, 13 Aug 2015 03:03:41 +0100 (BST) X-AuditID: cbfec7f4-f79c56d0000012ee-e0-55cbfafc4d95 Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 27.B3.04846.CFAFBC55; Thu, 13 Aug 2015 03:03:40 +0100 (BST) Received: from localhost.localdomain ([10.252.80.64]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NT0009GA0DXQK30@eusync1.samsung.com>; Thu, 13 Aug 2015 03:03:40 +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: [PATCH] drm/exynos: Staticize local function in exynos_drm_gem.c Date: Thu, 13 Aug 2015 11:03:32 +0900 Message-id: <1439431412-20023-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupgluLIzCtJLcpLzFFi42I5/e/4Zd0/v06HGhz4YGPRe+4kk8WVr+/Z LCbdn8Bi8eLeRRaL1y8MLfofv2a2ONv0ht1i0+NrrBaXd81hs5hxfh+TxYzJL9kcuD02repk 89j+7QGrx/3u40wem5fUe/RtWcXo8XmTXABbFJdNSmpOZllqkb5dAlfGgqMvWAveslW07ljN 2sD4i7WLkZNDQsBE4v2KxSwQtpjEhXvr2boYuTiEBJYySnS/XckC4fxnlLixdTo7SBWbgLHE 5uVLwKpEBBYyS3T83MYMkhAW8JRY/WYRE4jNIqAq8fPgArAGXgF3iUdL7jJDrJCTOHlsMusE Rq4FjAyrGEVTS5MLipPScw31ihNzi0vz0vWS83M3MULC58sOxsXHrA4xCnAwKvHwbnh0OlSI NbGsuDL3EKMEB7OSCG/SM6AQb0piZVVqUX58UWlOavEhRmkOFiVx3rm73ocICaQnlqRmp6YW pBbBZJk4OKUaGDd3q/3S/cKfxaR3nVlmzqJiD4trlzxPW0/b83j7jPprbU9YD+5MdI9Juqe+ //iFfdFdjh6zuV/szOl/+SLwlUtg2/SUQKMV6/a1HVbILjVfeiStT4/Domb9ZNk4/ebTEuzn 1E8f7Hy55QS/90rXTz/sdCb/nuQf0Mb34miqQ4fRHXfuLRorcpRYijMSDbWYi4oTAdUZyeEb AgAA 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, 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 0d5b9698d384..d9f6de012235 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gem.c +++ b/drivers/gpu/drm/exynos/exynos_drm_gem.c @@ -318,7 +318,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;