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: 7304081 Return-Path: X-Original-To: patchwork-linux-arm@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 64634BEEA4 for ; Thu, 1 Oct 2015 05:24:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9285220781 for ; Thu, 1 Oct 2015 05:24:04 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id BF04D207FB for ; Thu, 1 Oct 2015 05:24:03 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZhWJy-0006kR-CT; Thu, 01 Oct 2015 05:22:22 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZhWJv-0006LA-AC for linux-arm-kernel@lists.infradead.org; Thu, 01 Oct 2015 05:22:20 +0000 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 linux-arm-kernel@lists.infradead.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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150930_222219_539951_08C7E779 X-CRM114-Status: GOOD ( 15.18 ) X-Spam-Score: -6.9 (------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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;