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: 14023 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 231B223E27 for ; Mon, 14 Jan 2013 07:07:50 +0000 (UTC) Received: from mail-vb0-f45.google.com (mail-vb0-f45.google.com [209.85.212.45]) by fiordland.canonical.com (Postfix) with ESMTP id D150DA19CEB for ; Mon, 14 Jan 2013 07:07:49 +0000 (UTC) Received: by mail-vb0-f45.google.com with SMTP id p1so3265584vbi.32 for ; Sun, 13 Jan 2013 23:07:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=kcgRCQX/zFKCJIxd4iVRUMO70RaAYj5cVPCcO+SDOCI=; b=Piq1/r3eXjKDUBPqZe9Ro3Hiwtgo2QraQEPoRwvU+vXIceyaGTYLnGiE+Jm352G43q S3pN/aDkGrpoDzqB2qGRinTtkJaT21O7k4GT5ToIDwQCB2SQaYWfDFOmAlHunf1O8bPw Uq9+Z2IO4lC2vxq5d81EM0p70F8Z8DUVarUVN0oanApDEg2xjdOdkjCjz78Dm9zmy/dY 1AqruCYcXLErmGKbbi3ByUE6PJePvGo3pqFLubObEEj0jGlq8vpk4MxYxnVHAE9vS5X4 PoW4vEWuGplPjQxJmDsIM28Pjiw2IPMq2N9r9ZKTmBa6ENux/sJbJQyFtCzBAOdTyW7H McOQ== X-Received: by 10.58.74.196 with SMTP id w4mr9471598vev.7.1358147269282; Sun, 13 Jan 2013 23:07:49 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp47159veb; Sun, 13 Jan 2013 23:07:48 -0800 (PST) X-Received: by 10.68.132.98 with SMTP id ot2mr251610285pbb.39.1358147261107; Sun, 13 Jan 2013 23:07:41 -0800 (PST) Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com [209.85.160.53]) by mx.google.com with ESMTPS id i7si13638391pay.305.2013.01.13.23.07.40 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 13 Jan 2013 23:07:40 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.53 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.53; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.53 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-pb0-f53.google.com with SMTP id jt11so1995457pbb.26 for ; Sun, 13 Jan 2013 23:07:40 -0800 (PST) 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 Cc: inki.dae@samsung.com, jy0922.shim@samsung.com, sachin.kamat@linaro.org, patches@linaro.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: ALoCoQnHn56ipIejwOKagLu11L8H9/RQs113+xvHnLuQO3+Kjn7q4eRoYsLCAsIVBzXvWv5jMT/i 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,