patch-2.4.25 linux-2.4.25/drivers/char/drm/gamma_dma.c

Next file: linux-2.4.25/drivers/char/drm/i810_dma.c
Previous file: linux-2.4.25/drivers/char/drm/ffb_drv.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/drivers/char/drm/gamma_dma.c linux-2.4.25/drivers/char/drm/gamma_dma.c
@@ -638,7 +638,7 @@
 	} else {
 		DRM_FIND_MAP( dev_priv->buffers, init->buffers_offset );
 
-		DRM_IOREMAP( dev_priv->buffers );
+		DRM_IOREMAP( dev_priv->buffers, dev );
 
 		buf = dma->buflist[GLINT_DRI_BUF_COUNT];
 		pgt = buf->address;
@@ -668,7 +668,7 @@
 	if ( dev->dev_private ) {
 		drm_gamma_private_t *dev_priv = dev->dev_private;
 
-		DRM_IOREMAPFREE( dev_priv->buffers );
+		DRM_IOREMAPFREE( dev_priv->buffers, dev );
 
 		DRM(free)( dev->dev_private, sizeof(drm_gamma_private_t),
 			   DRM_MEM_DRIVER );

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