PATCH: remove ide_ioreg_t

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Feb 18 2003 - 13:04:55 EST


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.61/drivers/ide/ide-pnp.c linux-2.5.61-ac2/drivers/ide/ide-pnp.c
--- linux-2.5.61/drivers/ide/ide-pnp.c 2003-02-10 18:38:44.000000000 +0000
+++ linux-2.5.61-ac2/drivers/ide/ide-pnp.c 2003-02-18 18:06:17.000000000 +0000
@@ -58,9 +58,9 @@
         if (!(pnp_port_valid(dev, 0) && pnp_port_valid(dev, 1) && pnp_irq_valid(dev, 0)))
                 return 1;
 
- ide_setup_ports(&hw, (ide_ioreg_t) pnp_port_start(dev, 0),
+ ide_setup_ports(&hw, (unsigned long) pnp_port_start(dev, 0),
                         generic_ide_offsets,
- (ide_ioreg_t) pnp_port_start(dev, 1),
+ (unsigned long) pnp_port_start(dev, 1),
                         0, NULL,
 // generic_pnp_ide_iops,
                         pnp_irq(dev, 0));
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:22 EST