mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] nouveau: nv10_fence.c: avoid sparse warning
@ 2013-03-15 15:18 Laurent Navet
  0 siblings, 0 replies; only message in thread
From: Laurent Navet @ 2013-03-15 15:18 UTC (permalink / raw)
  To: airlied; +Cc: bskeggs, marcin.slusarz, dri-devel, linux-kernel, Laurent Navet

fix this warning :
sparse: symbol 'nv10_fence_context_new' was not declared. Should it be static?

Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
---
 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 *);
 
-- 
1.7.10.4


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-15 15:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-15 15:18 [PATCH] nouveau: nv10_fence.c: avoid sparse warning Laurent Navet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®