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: 7005401 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 A2F26C05AC for ; Thu, 13 Aug 2015 02:04:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CA12E205F9 for ; Thu, 13 Aug 2015 02:04:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E8D762060A for ; Thu, 13 Aug 2015 02:04:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751332AbbHMCDp (ORCPT ); Wed, 12 Aug 2015 22:03:45 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:12919 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751160AbbHMCDo (ORCPT ); Wed, 12 Aug 2015 22:03:44 -0400 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>; 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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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;