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

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

diff -u --recursive --new-file v2.3.14/linux/drivers/video/cyber2000fb.c linux/drivers/video/cyber2000fb.c
@@ -765,9 +765,9 @@
 	else
 		display = &global_disp;
 
-	fix->smem_start	 = (char *)current_par.screen_base_p;
+	fix->smem_start	 = current_par.screen_base_p;
 	fix->smem_len	 = current_par.screen_size;
-	fix->mmio_start	 = (char *)current_par.regs_base_p;
+	fix->mmio_start	 = current_par.regs_base_p;
 	fix->mmio_len	 = 0x000c0000;
 	fix->type	 = display->type;
 	fix->type_aux	 = display->type_aux;

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