summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ast
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2012-11-06 21:49:51 +0000
committerDave Airlie <airlied@redhat.com>2012-11-20 16:06:19 +1000
commit0b91c4a1cd7cc368763de2fe25b8ea64ea803c08 (patch)
treec8b2431490b76d516487ebd8ef83afb893ded476 /drivers/gpu/drm/ast
parentef8cf3a1c523afa499d15856e7db3844ad59d1fb (diff)
downloadlinux-stable-0b91c4a1cd7cc368763de2fe25b8ea64ea803c08.tar.gz
linux-stable-0b91c4a1cd7cc368763de2fe25b8ea64ea803c08.tar.bz2
linux-stable-0b91c4a1cd7cc368763de2fe25b8ea64ea803c08.zip
drm/ttm: remove ttm_buffer_object->buffer_start
All drivers set it to 0 and nothing uses it. Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> 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 1a026ac2dfb4..0a54f65a8ebb 100644
--- a/drivers/gpu/drm/ast/ast_ttm.c
+++ b/drivers/gpu/drm/ast/ast_ttm.c
@@ -356,7 +356,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,
+ align >> PAGE_SHIFT, false, NULL, acc_size,
NULL, ast_bo_ttm_destroy);
if (ret)
return ret;