ide: add IDE_HFLAG_MMIO host flag (take 2)
[deliverable/linux.git] / drivers / ide / legacy / ide_platform.c
index 8279dc7ca4c0086fc8ca4b5551012cd6d316306c..d3bc3f24e05d07e52f079121117a672b11de0146 100644 (file)
@@ -101,8 +101,10 @@ static int __devinit plat_ide_probe(struct platform_device *pdev)
 
        ide_init_port_hw(hwif, &hw);
 
-       if (mmio)
+       if (mmio) {
+               hwif->host_flags = IDE_HFLAG_MMIO;
                default_hwif_mmiops(hwif);
+       }
 
        idx[0] = hwif->index;
 
This page took 0.024728 seconds and 5 git commands to generate.