summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ast
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-05-23 14:08:41 +0100
committerDave Airlie <airlied@redhat.com>2012-05-23 14:08:41 +0100
commit5288b7b205ccd59ad40ef8ec270302bf94ac4697 (patch)
tree6d457f68c3607a6c331ee573dc9ccf914beb2fbb /drivers/gpu/drm/ast
parent5b2ba70091c1bef1dfb3677db229dc5392dfec8c (diff)
downloadlinux-3.10-5288b7b205ccd59ad40ef8ec270302bf94ac4697.tar.gz
linux-3.10-5288b7b205ccd59ad40ef8ec270302bf94ac4697.tar.bz2
linux-3.10-5288b7b205ccd59ad40ef8ec270302bf94ac4697.zip
drm: update ast/cirrus/mgag200 for change in TTM api
New drivers merged after changes were done in prime TTM code. Fix build. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/ast')
-rw-r--r--drivers/gpu/drm/ast/ast_ttm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ast/ast_ttm.c b/drivers/gpu/drm/ast/ast_ttm.c
index aad12f74717..6cf2adea66b 100644
--- a/drivers/gpu/drm/ast/ast_ttm.c
+++ b/drivers/gpu/drm/ast/ast_ttm.c
@@ -357,7 +357,7 @@ int ast_bo_create(struct drm_device *dev, int size, int align,
ret = ttm_bo_init(&ast->ttm.bdev, &astbo->bo, size,
ttm_bo_type_device, &astbo->placement,
align >> PAGE_SHIFT, 0, false, NULL, acc_size,
- ast_bo_ttm_destroy);
+ NULL, ast_bo_ttm_destroy);
if (ret)
return ret;