Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755124AbaAFPQf (ORCPT ); Mon, 6 Jan 2014 10:16:35 -0500 Received: from mail-pb0-f50.google.com ([209.85.160.50]:43818 "EHLO mail-pb0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751470AbaAFPQe (ORCPT ); Mon, 6 Jan 2014 10:16:34 -0500 Date: Mon, 6 Jan 2014 20:46:29 +0530 From: Rashika Kheria To: linux-kernel@vger.kernel.org Cc: David Airlie , Ben Skeggs , Marcin Slusarz , Rashika Kheria , dri-devel@lists.freedesktop.org, josh@joshtriplett.org Subject: [PATCH 18/85] drivers: gpu: Mark function as static in nv10_fence.c Message-ID: <8c894ed7fab96e62bd260fea0ded6473b22185c9.1389018324.git.rashika.kheria@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mark function nv10_fence_context_new() as static in drm/nouveau/nv10_fence.c because it is not used outside this file. This eliminates the following warning in drm/nouveau/nv10_fence.c: drivers/gpu/drm/nouveau/nv10_fence.c:69:1: warning: no previous prototype for ‘nv10_fence_context_new’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett --- drivers/gpu/drm/nouveau/nv10_fence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nv10_fence.c b/drivers/gpu/drm/nouveau/nv10_fence.c index 06f434f..b5de158 100644 --- a/drivers/gpu/drm/nouveau/nv10_fence.c +++ b/drivers/gpu/drm/nouveau/nv10_fence.c @@ -65,7 +65,7 @@ nv10_fence_context_del(struct nouveau_channel *chan) kfree(fctx); } -int +static int nv10_fence_context_new(struct nouveau_channel *chan) { struct nv10_fence_chan *fctx; -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/