|
@@ -1541,7 +1541,7 @@ static int radeon_do_cleanup_cp(struct drm_device * dev)
|
|
if (dev_priv->gart_info.gart_table_location == DRM_ATI_GART_FB)
|
|
if (dev_priv->gart_info.gart_table_location == DRM_ATI_GART_FB)
|
|
{
|
|
{
|
|
drm_core_ioremapfree(&dev_priv->gart_info.mapping, dev);
|
|
drm_core_ioremapfree(&dev_priv->gart_info.mapping, dev);
|
|
- dev_priv->gart_info.addr = 0;
|
|
|
|
|
|
+ dev_priv->gart_info.addr = NULL;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
/* only clear to the start of flags */
|
|
/* only clear to the start of flags */
|