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: 7005421 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 098BAC05AC for ; Thu, 13 Aug 2015 02:07:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 418C220615 for ; Thu, 13 Aug 2015 02:07:31 +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 2BAF32060B for ; Thu, 13 Aug 2015 02:07:30 +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 1ZPhsK-0001Tu-9J; Thu, 13 Aug 2015 02:04:12 +0000 Received: from mailout4.w1.samsung.com ([210.118.77.14]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZPhsG-0001OV-S5 for linux-arm-kernel@lists.infradead.org; Thu, 13 Aug 2015 02:04:10 +0000 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 linux-arm-kernel@lists.infradead.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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150812_190409_062002_5C6CC6E7 X-CRM114-Status: GOOD ( 16.24 ) 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, 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;