patch-2.2.4 linux/drivers/video/pm2fb.c

Next file: linux/drivers/video/promcon.c
Previous file: linux/drivers/video/offb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.3/linux/drivers/video/pm2fb.c linux/drivers/video/pm2fb.c
@@ -62,7 +62,7 @@
  * The _DEFINITIVE_ memory mapping/unmapping functions.
  * This is due to the fact that they're changing soooo often...
  */
-#define MMAP(a,b)	ioremap((u32 )(a), b)
+#define MMAP(a,b)	ioremap((unsigned long )(a), b)
 #define UNMAP(a,b)	iounmap(a)
 
 /*

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