block: Rename blk_queue_max_sectors to blk_queue_max_hw_sectors
[pandora-kernel.git] / drivers / ide / ide-probe.c
index 4d76ba4..1ec8b31 100644 (file)
@@ -774,7 +774,7 @@ static int ide_init_queue(ide_drive_t *drive)
 
        if (hwif->rqsize < max_sectors)
                max_sectors = hwif->rqsize;
-       blk_queue_max_sectors(q, max_sectors);
+       blk_queue_max_hw_sectors(q, max_sectors);
 
 #ifdef CONFIG_PCI
        /* When we have an IOMMU, we may have a problem where pci_map_sg()