patch-2.1.36 linux/drivers/sbus/sbus.c

Next file: linux/drivers/scsi/53c7,8xx.c
Previous file: linux/drivers/sbus/char/weitek.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/drivers/sbus/sbus.c linux/drivers/sbus/sbus.c
@@ -74,10 +74,10 @@
 		sbus_dev->slot = sbus_dev->reg_addrs[0].which_io;
 		sbus_dev->offset = base;
 		sbus_dev->reg_addrs[0].phys_addr = 
-			(char *) sbus_devaddr(sbus_dev->slot, base);
+			sbus_devaddr(sbus_dev->slot, base);
 		for(grrr=1; grrr<sbus_dev->num_registers; grrr++) {
 			base = (unsigned long) sbus_dev->reg_addrs[grrr].phys_addr;
-			sbus_dev->reg_addrs[grrr].phys_addr = (char *) 
+			sbus_dev->reg_addrs[grrr].phys_addr =
 				sbus_devaddr(sbus_dev->slot, base);
 		}
 		/* That surely sucked */

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