From 55ba98fadfb8909d23d6f810285504abd173f0ad Mon Sep 17 00:00:00 2001 From: Marcin Slusarz Date: Tue, 12 Jan 2010 15:31:28 +0100 Subject: nouveau: add nouveau_resource_destroy Signed-off-by: Francisco Jerez --- nouveau/nouveau_resource.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nouveau/nouveau_resource.h') diff --git a/nouveau/nouveau_resource.h b/nouveau/nouveau_resource.h index 988d2466..b760dfbb 100644 --- a/nouveau/nouveau_resource.h +++ b/nouveau/nouveau_resource.h @@ -38,6 +38,9 @@ int nouveau_resource_init(struct nouveau_resource **heap, unsigned start, unsigned size); +void +nouveau_resource_destroy(struct nouveau_resource **heap); + int nouveau_resource_alloc(struct nouveau_resource *heap, unsigned size, void *priv, struct nouveau_resource **); -- cgit v1.2.3