patch-2.4.25 linux-2.4.25/drivers/char/drm/drm_bufs.h

Next file: linux-2.4.25/drivers/char/drm/drm_drv.h
Previous file: linux-2.4.25/drivers/char/drm/drm_agpsupport.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/drivers/char/drm/drm_bufs.h linux-2.4.25/drivers/char/drm/drm_bufs.h
@@ -123,7 +123,7 @@
 					      MTRR_TYPE_WRCOMB, 1 );
 		}
 #endif
-		map->handle = DRM(ioremap)( map->offset, map->size );
+		map->handle = DRM(ioremap)( map->offset, map->size, dev );
 		break;
 
 	case _DRM_SHM:
@@ -245,7 +245,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:
 			vfree(map->handle);

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