aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ide/setup-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/setup-pci.c b/drivers/ide/setup-pci.c
index ea66c996e4ec..ee4a34b49062 100644
--- a/drivers/ide/setup-pci.c
+++ b/drivers/ide/setup-pci.c
@@ -371,7 +371,7 @@ static ide_hwif_t *ide_hwif_configure(struct pci_dev *dev,
371 return NULL; /* no room in ide_hwifs[] */ 371 return NULL; /* no room in ide_hwifs[] */
372 372
373 memset(&hw, 0, sizeof(hw)); 373 memset(&hw, 0, sizeof(hw));
374 hw.irq = hwif->irq ? hwif->irq : irq; 374 hw.irq = irq;
375 hw.dev = &dev->dev; 375 hw.dev = &dev->dev;
376 hw.chipset = d->chipset ? d->chipset : ide_pci; 376 hw.chipset = d->chipset ? d->chipset : ide_pci;
377 ide_std_init_ports(&hw, base, ctl | 2); 377 ide_std_init_ports(&hw, base, ctl | 2);