diff options
Diffstat (limited to 'drivers/ide/ide-pnp.c')
-rw-r--r-- | drivers/ide/ide-pnp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-pnp.c b/drivers/ide/ide-pnp.c index 34c2ad36ce54..efc193602bf8 100644 --- a/drivers/ide/ide-pnp.c +++ b/drivers/ide/ide-pnp.c | |||
@@ -38,7 +38,7 @@ static int idepnp_probe(struct pnp_dev * dev, const struct pnp_device_id *dev_id | |||
38 | pnp_port_start(dev, 1)); | 38 | pnp_port_start(dev, 1)); |
39 | hw.irq = pnp_irq(dev, 0); | 39 | hw.irq = pnp_irq(dev, 0); |
40 | 40 | ||
41 | hwif = ide_find_port(hw.io_ports[IDE_DATA_OFFSET]); | 41 | hwif = ide_find_port(); |
42 | if (hwif) { | 42 | if (hwif) { |
43 | u8 index = hwif->index; | 43 | u8 index = hwif->index; |
44 | u8 idx[4] = { index, 0xff, 0xff, 0xff }; | 44 | u8 idx[4] = { index, 0xff, 0xff, 0xff }; |