drm/qxl: Fix return for qxl_release_alloc

This function return handle to allocated release object which is an int.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Frediano Ziglio 2015-06-03 12:09:14 +01:00 committed by Dave Airlie
parent c610c7137c
commit 6ecf5c2b57
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ static const struct fence_ops qxl_fence_ops = {
.wait = qxl_fence_wait,
};
static uint64_t
static int
qxl_release_alloc(struct qxl_device *qdev, int type,
struct qxl_release **ret)
{