--- zzzz-none-000/linux-3.10.107/drivers/ide/cs5520.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/ide/cs5520.c 2021-02-04 17:41:59.000000000 +0000 @@ -123,7 +123,7 @@ return -ENODEV; } pci_set_master(dev); - if (pci_set_dma_mask(dev, DMA_BIT_MASK(32))) { + if (dma_set_mask(&dev->dev, DMA_BIT_MASK(32))) { printk(KERN_WARNING "%s: No suitable DMA available.\n", d->name); return -ENODEV;