ide_platform: set hwif->chipset

We need to set hwif->chipset or IDE PCI host drivers may try to claim
our ide_hwifs[] slot.
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 752097ce
...@@ -65,7 +65,7 @@ static ide_hwif_t *__devinit plat_ide_locate_hwif(void __iomem *base, ...@@ -65,7 +65,7 @@ static ide_hwif_t *__devinit plat_ide_locate_hwif(void __iomem *base,
hwif->hw.irq = hwif->irq = irq; hwif->hw.irq = hwif->irq = irq;
hwif->hw.dma = NO_DMA; hwif->hw.dma = NO_DMA;
hwif->hw.chipset = ide_generic; hwif->chipset = hwif->hw.chipset = ide_generic;
if (mmio) { if (mmio) {
hwif->mmio = 1; hwif->mmio = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment