patch-2.4.20 linux-2.4.20/drivers/ide/q40ide.c

Next file: linux-2.4.20/drivers/ide/via82cxxx.c
Previous file: linux-2.4.20/drivers/ide/ide.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/ide/q40ide.c linux-2.4.20/drivers/ide/q40ide.c
@@ -82,8 +82,8 @@
     for (i = 0; i < Q40IDE_NUM_HWIFS; i++) {
 	hw_regs_t hw;
 
-	ide_setup_ports(&hw,(ide_ioreg_t) pcide_bases[i], (int *)pcide_offsets, 
-			pcide_bases[i]+0x206, 
+	ide_setup_ports(&hw, (ide_ioreg_t)pcide_bases[i], (int *)pcide_offsets,
+			(ide_ioreg_t)pcide_bases[i]+0x206,
 			0, NULL, q40ide_default_irq(pcide_bases[i]));
 	ide_register_hw(&hw, NULL);
     }

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