aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r600_cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/radeon/r600_cp.c')
-rw-r--r--drivers/gpu/drm/radeon/r600_cp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r600_cp.c b/drivers/gpu/drm/radeon/r600_cp.c
index be2bba66d5d9..6f2cc74350c5 100644
--- a/drivers/gpu/drm/radeon/r600_cp.c
+++ b/drivers/gpu/drm/radeon/r600_cp.c
@@ -1811,7 +1811,7 @@ int r600_do_cleanup_cp(struct drm_device *dev)
1811 1811
1812 if (dev_priv->gart_info.gart_table_location == DRM_ATI_GART_FB) { 1812 if (dev_priv->gart_info.gart_table_location == DRM_ATI_GART_FB) {
1813 drm_core_ioremapfree(&dev_priv->gart_info.mapping, dev); 1813 drm_core_ioremapfree(&dev_priv->gart_info.mapping, dev);
1814 dev_priv->gart_info.addr = 0; 1814 dev_priv->gart_info.addr = NULL;
1815 } 1815 }
1816 } 1816 }
1817 /* only clear to the start of flags */ 1817 /* only clear to the start of flags */