Skip to content

Commit

Permalink
ide_platform: set hwif->chipset
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Oct 13, 2007
1 parent 752097c commit ceec182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ide/legacy/ide_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static ide_hwif_t *__devinit plat_ide_locate_hwif(void __iomem *base,
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;
Expand Down

0 comments on commit ceec182

Please sign in to comment.