summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_ramht.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-10-12 10:11:00 +1000
committerBen Skeggs <bskeggs@redhat.com>2010-12-03 15:05:27 +1000
commit18a16a768c3d37f5bfdbb414217b530294d5d442 (patch)
tree70574a519558bdd78a93acb06e0cd51296085c18 /drivers/gpu/drm/nouveau/nouveau_ramht.h
parent938c40ed69b2c1eceb72247b5e8975b28afc195f (diff)
downloadtalos-op-linux-18a16a768c3d37f5bfdbb414217b530294d5d442.tar.gz
talos-op-linux-18a16a768c3d37f5bfdbb414217b530294d5d442.zip
drm/nouveau: return error from nouveau_ramht_remove() if not found
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_ramht.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_ramht.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_ramht.h b/drivers/gpu/drm/nouveau/nouveau_ramht.h
index b79cb5e1a8f1..c82de98fee0e 100644
--- a/drivers/gpu/drm/nouveau/nouveau_ramht.h
+++ b/drivers/gpu/drm/nouveau/nouveau_ramht.h
@@ -48,7 +48,7 @@ extern void nouveau_ramht_ref(struct nouveau_ramht *, struct nouveau_ramht **,
extern int nouveau_ramht_insert(struct nouveau_channel *, u32 handle,
struct nouveau_gpuobj *);
-extern void nouveau_ramht_remove(struct nouveau_channel *, u32 handle);
+extern int nouveau_ramht_remove(struct nouveau_channel *, u32 handle);
extern struct nouveau_gpuobj *
nouveau_ramht_find(struct nouveau_channel *chan, u32 handle);
OpenPOWER on IntegriCloud