From patchwork Fri Mar 15 15:18:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Laurent Navet [Mali]" X-Patchwork-Id: 2279071 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 56E5D3FC8A for ; Fri, 15 Mar 2013 15:23:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3EAFBE6AB3 for ; Fri, 15 Mar 2013 08:23:32 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by gabe.freedesktop.org (Postfix) with ESMTP id 24F80E6A94 for ; Fri, 15 Mar 2013 08:15:14 -0700 (PDT) Received: by mail-wi0-f169.google.com with SMTP id l13so728610wie.0 for ; Fri, 15 Mar 2013 08:15:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=D4yD8zuKOPKkapCKa4zMNNhxBMauSLRuyxnc3QVVICQ=; b=QqYfBO+TTxn9UtwM9fpB2Wyh3wX6R6fNa++hjBpZrCKfCL8okJyZOv85WXDHhY4JoX 1hucN2E8SRWKY43+hzKsIarbovolHlMI3m8zCFQ0VSXRIQk0R82J5Fd/V8NH73qfafWR DBEWzqBYCCYZSVdHSRZ4mhsdGB1QRYQ9Pp+bGu7GTK+I0i66+8EJ7Jc9o2Am2Zdn9jSS SyipSq7/W7Cl3Yu+s+vk/U/Bs92kuH4si+WlqYHUMk11aVFWoUtUxIRi8HTyC9i8jjFr rHNA4Q/QRhyCTHFxaEChAOzqtuMMcarCfB6oAwycyHZ4cWZKu+yUOdkwHHO+taD4POqi amZA== X-Received: by 10.180.79.227 with SMTP id m3mr3697170wix.12.1363360514130; Fri, 15 Mar 2013 08:15:14 -0700 (PDT) Received: from localhost.localdomain (ANantes-257-1-52-193.w90-25.abo.wanadoo.fr. [90.25.67.193]) by mx.google.com with ESMTPS id k5sm3751351wiy.5.2013.03.15.08.15.10 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 15 Mar 2013 08:15:12 -0700 (PDT) From: Laurent Navet To: airlied@linux.ie Subject: [PATCH] nouveau: nv10_fence.c: avoid sparse warning Date: Fri, 15 Mar 2013 16:18:48 +0100 Message-Id: <1363360728-20158-1-git-send-email-laurent.navet@gmail.com> X-Mailer: git-send-email 1.7.10.4 X-Mailman-Approved-At: Fri, 15 Mar 2013 08:21:42 -0700 Cc: Laurent Navet , linux-kernel@vger.kernel.org, bskeggs@redhat.com, dri-devel@lists.freedesktop.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 fix this warning : sparse: symbol 'nv10_fence_context_new' was not declared. Should it be static? Signed-off-by: Laurent Navet --- drivers/gpu/drm/nouveau/nouveau_fence.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/nouveau/nouveau_fence.h b/drivers/gpu/drm/nouveau/nouveau_fence.h index c899434..61ee43a 100644 --- a/drivers/gpu/drm/nouveau/nouveau_fence.h +++ b/drivers/gpu/drm/nouveau/nouveau_fence.h @@ -64,6 +64,7 @@ int nv17_fence_sync(struct nouveau_fence *, struct nouveau_channel *, struct nouveau_channel *); u32 nv10_fence_read(struct nouveau_channel *); void nv10_fence_context_del(struct nouveau_channel *); +int nv10_fence_context_new(struct nouveau_channel *); void nv10_fence_destroy(struct nouveau_drm *); int nv10_fence_create(struct nouveau_drm *);