diff options
Diffstat (limited to 'drivers/gpu/drm/ast/ast_mode.c')
| -rw-r--r-- | drivers/gpu/drm/ast/ast_mode.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c index a965e7e8ad6e..c337922606e3 100644 --- a/drivers/gpu/drm/ast/ast_mode.c +++ b/drivers/gpu/drm/ast/ast_mode.c @@ -1141,7 +1141,7 @@ static int ast_cursor_set(struct drm_crtc *crtc,  	if (width > AST_MAX_HWC_WIDTH || height > AST_MAX_HWC_HEIGHT)  		return -EINVAL; -	obj = drm_gem_object_lookup(crtc->dev, file_priv, handle); +	obj = drm_gem_object_lookup(file_priv, handle);  	if (!obj) {  		DRM_ERROR("Cannot find cursor object %x for crtc\n", handle);  		return -ENOENT;  |