Skip to contentSkip to conversation

ide_platform: set hwif->chipset

PATCH In review Bartlomiej Zolnierkiewicz 1 participant 1 message Sep 24, 2007 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/9 ide_platform: set hwif->chipset

We need to set hwif->chipset or IDE PCI host drivers may try to claim our ide_hwifs[] slot.

---
 drivers/ide/legacy/ide_platform.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ide/legacy/ide_platform.c +1 -1
Index: b/drivers/ide/legacy/ide_platform.c
===================================================================
@@ -52,7 +52,7 @@ static ide_hwif_t *__devinit plat_ide_lo
 	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;