patch-2.4.25 linux-2.4.25/drivers/char/drm-4.0/mga_drv.c

Next file: linux-2.4.25/drivers/char/drm-4.0/r128_cce.c
Previous file: linux-2.4.25/drivers/char/drm-4.0/mga_dma.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/drivers/char/drm-4.0/mga_drv.c linux-2.4.25/drivers/char/drm-4.0/mga_drv.c
@@ -286,7 +286,7 @@
 					DRM_DEBUG("mtrr_del = %d\n", retcode);
 				}
 #endif
-				drm_ioremapfree(map->handle, map->size);
+				drm_ioremapfree(map->handle, map->size, dev);
 				break;
 			case _DRM_SHM:
 				drm_free_pages((unsigned long)map->handle,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)