drm: remove drm_ioremap and drm_ioremapfree
[cascardo/linux.git] / drivers / char / drm / drm_vm.c
index b9cfc07..4e48058 100644 (file)
@@ -227,7 +227,7 @@ static void drm_vm_shm_close(struct vm_area_struct *vma)
                                                           map->size);
                                        DRM_DEBUG("mtrr_del = %d\n", retcode);
                                }
-                               drm_ioremapfree(map->handle, map->size, dev);
+                               iounmap(map->handle);
                                break;
                        case _DRM_SHM:
                                vfree(map->handle);