PATCH: remove ide_ioreg_t

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 18 Feb 2003 18:04:55 +0000 (GMT)


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/