]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 ccfb9893a467047ff6db738a14f8df772ffec545..b992b2b91fe2ba684dadbc7345ffb96d4161f8bc 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;