ide_platform: set hwif->chipset
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 13 Oct 2007 15:47:47 +0000 (17:47 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 13 Oct 2007 15:47:47 +0000 (17:47 +0200)
We need to set hwif->chipset or IDE PCI host drivers may try to claim
our ide_hwifs[] slot.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/legacy/ide_platform.c

index ccfb989..b992b2b 100644 (file)
@@ -65,7 +65,7 @@ found:
        hwif->hw.irq = hwif->irq = irq;
 
        hwif->hw.dma = NO_DMA;
-       hwif->hw.chipset = ide_generic;
+       hwif->chipset = hwif->hw.chipset = ide_generic;
 
        if (mmio) {
                hwif->mmio = 1;