X-Git-Url: https://bbs.cooldavid.org/git/?a=blobdiff_plain;f=drivers%2Fgpu%2Fdrm%2Fradeon%2Fradeon_ttm.c;h=a823d8fe54c2ccaac8e63256a75e249bce542994;hb=40b3be3fcaf8e0d8f7d8cee266dc4af3251d814b;hp=84c53e41a88fd783d6f7ba32c9155109eb3c95be;hpb=99a51792dbb7e6e39b2a4ebcfe202f1dcc7354c4;p=net-next-2.6.git diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c b/drivers/gpu/drm/radeon/radeon_ttm.c index 84c53e41a88..a823d8fe54c 100644 --- a/drivers/gpu/drm/radeon/radeon_ttm.c +++ b/drivers/gpu/drm/radeon/radeon_ttm.c @@ -631,7 +631,7 @@ int radeon_mmap(struct file *filp, struct vm_area_struct *vma) return drm_mmap(filp, vma); } - file_priv = (struct drm_file *)filp->private_data; + file_priv = filp->private_data; rdev = file_priv->minor->dev->dev_private; if (rdev == NULL) { return -EINVAL;