From patchwork Mon Jan 14 06:59:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 1971211 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 3BE8FDF23A for ; Mon, 14 Jan 2013 07:32:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6BB52E5EC5 for ; Sun, 13 Jan 2013 23:32:25 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pb0-f49.google.com (mail-pb0-f49.google.com [209.85.160.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 1F84CE5C39 for ; Sun, 13 Jan 2013 23:07:40 -0800 (PST) Received: by mail-pb0-f49.google.com with SMTP id un15so1988798pbc.22 for ; Sun, 13 Jan 2013 23:07:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=kcgRCQX/zFKCJIxd4iVRUMO70RaAYj5cVPCcO+SDOCI=; b=bvkop0vkQ/hYsUToCWrZ7EeTznKPfUBu3cllKSP1X4FjIn3zFN6t7OXiVeg59Z2lxc IFUsDTKHtXr8aoI4oREzUOwUGYhk8z7BCf567LXmBMhNx2iz3cBrVu7t5yyPs29FLpa7 wcsAwEDhtJkt803hEyC3qSXZu1SycZuU8+4Nr+lwRUlfk4CpYbYcSgd8K7wejpa1jNeZ LK+sDee90r0Z6KtMfpYnj/CBotsrVk7D4O+11m1P82cVQjDk4m712A1WH6FW+nNURB9l wUjXYytNsUWaHdfenv4+mQ9jKHtZCiRqkFermb54FIQ2DBf44vFxjlKoWjNkKPAk+yiF 5+yg== X-Received: by 10.68.216.134 with SMTP id oq6mr251684562pbc.162.1358147260215; Sun, 13 Jan 2013 23:07:40 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id pl10sm7694401pbc.60.2013.01.13.23.07.37 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 13 Jan 2013 23:07:39 -0800 (PST) From: Sachin Kamat To: dri-devel@lists.freedesktop.org Subject: [PATCH 1/3] drm/exynos: Make g2d_userptr_get_dma_addr static Date: Mon, 14 Jan 2013 12:29:09 +0530 Message-Id: <1358146751-2060-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQn6GK/RSAkGBY+M2LkwUHEOgk30zuTZxMDa7SJXSW5Hbe02ceWjk4EnvHrtYtHkjGGdkvV0 X-Mailman-Approved-At: Sun, 13 Jan 2013 23:30:18 -0800 Cc: sachin.kamat@linaro.org, patches@linaro.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Fixes the following warning: drivers/gpu/drm/exynos/exynos_drm_g2d.c:327:12: warning: symbol 'g2d_userptr_get_dma_addr' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_g2d.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.c b/drivers/gpu/drm/exynos/exynos_drm_g2d.c index 36c3905..9a4c08e 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_g2d.c +++ b/drivers/gpu/drm/exynos/exynos_drm_g2d.c @@ -324,7 +324,7 @@ out: g2d_userptr = NULL; } -dma_addr_t *g2d_userptr_get_dma_addr(struct drm_device *drm_dev, +static dma_addr_t *g2d_userptr_get_dma_addr(struct drm_device *drm_dev, unsigned long userptr, unsigned long size, struct drm_file *filp,