patch-2.1.81 linux/drivers/char/pms.c

Next file: linux/drivers/char/tpqic02.c
Previous file: linux/drivers/char/misc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.80/linux/drivers/char/pms.c linux/drivers/char/pms.c
@@ -610,7 +610,7 @@
 {
 	int y;
 	int dw = 2*dev->width;
-	char *src = (char *)bus_to_virt((void *)mem_base);
+	char *src = (char *)bus_to_virt(mem_base);
 
 	char tmp[dw+32]; /* using a temp buffer is faster than direct  */
 	int cnt = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov