diff mbox

nouveau: nv10_fence.c: avoid sparse warning

Message ID 1363360728-20158-1-git-send-email-laurent.navet@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Laurent Navet [Mali] March 15, 2013, 3:18 p.m. UTC
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 mbox

Patch

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 *);