aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/legacy
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-13 11:47:47 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-13 11:47:47 -0400
commitceec1827e29b9b3d5cac225fee554bd31e565b58 (patch)
tree91e0aefb1596a9108fe320a26273780b9c8ffaa8 /drivers/ide/legacy
parent752097cec53eea111d087c545179b421e2bde98a (diff)
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: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/legacy')
-rw-r--r--drivers/ide/legacy/ide_platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/legacy/ide_platform.c b/drivers/ide/legacy/ide_platform.c
index ccfb9893a467..b992b2b91fe2 100644
--- a/drivers/ide/legacy/ide_platform.c
+++ b/drivers/ide/legacy/ide_platform.c
@@ -65,7 +65,7 @@ found:
65 hwif->hw.irq = hwif->irq = irq; 65 hwif->hw.irq = hwif->irq = irq;
66 66
67 hwif->hw.dma = NO_DMA; 67 hwif->hw.dma = NO_DMA;
68 hwif->hw.chipset = ide_generic; 68 hwif->chipset = hwif->hw.chipset = ide_generic;
69 69
70 if (mmio) { 70 if (mmio) {
71 hwif->mmio = 1; 71 hwif->mmio = 1;