patch-2.3.15 linux/drivers/video/q40fb.c

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

diff -u --recursive --new-file v2.3.14/linux/drivers/video/q40fb.c linux/drivers/video/q40fb.c
@@ -86,7 +86,7 @@
 	memset(fix, 0, sizeof(struct fb_fix_screeninfo));
 
 	strcpy(fix->id,"Q40");
-	fix->smem_start=(char*)q40_screen_addr;
+	fix->smem_start=q40_screen_addr;
 	fix->smem_len=1024*1024;
 	fix->type=FB_TYPE_PACKED_PIXELS;
 	fix->type_aux=0;

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