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

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

diff -u --recursive --new-file v2.3.14/linux/drivers/video/platinumfb.c linux/drivers/video/platinumfb.c
@@ -837,9 +837,9 @@
 {
 	memset(fix, 0, sizeof(*fix));
 	strcpy(fix->id, "platinum");
-	fix->smem_start = (void *) (info->frame_buffer_phys + 0x1000);
+	fix->smem_start = (info->frame_buffer_phys + 0x1000);
 	fix->smem_len = (u32) info->total_vram - 0x1000;
-	fix->mmio_start = (char *) (info->platinum_regs_phys);
+	fix->mmio_start = (info->platinum_regs_phys);
 	fix->mmio_len = 0x1000;
 	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)