ide: merge ide_hwgroup_t with ide_hwif_t (v2)
[deliverable/linux.git] / drivers / ide / pmac.c
index 7c481bb56fab90427001c4ac5f46a0fc367ac449..899b96baf215459ae2a8cd4e010c0248da3cc1ec 100644 (file)
@@ -1516,7 +1516,7 @@ pmac_ide_dma_setup(ide_drive_t *drive)
        ide_hwif_t *hwif = HWIF(drive);
        pmac_ide_hwif_t *pmif =
                (pmac_ide_hwif_t *)dev_get_drvdata(hwif->gendev.parent);
-       struct request *rq = HWGROUP(drive)->rq;
+       struct request *rq = hwif->rq;
        u8 unit = drive->dn & 1, ata4 = (pmif->kind == controller_kl_ata4);
 
        if (!pmac_ide_build_dmatable(drive, rq)) {
This page took 0.027025 seconds and 5 git commands to generate.