]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/ide/cs5520.c
dma-mapping: replace all DMA_39BIT_MASK macro with DMA_BIT_MASK(39)
[mirror_ubuntu-bionic-kernel.git] / drivers / ide / cs5520.c
index d003bec56ff9f51c7c5839e83e79e317b9608eac..58fb90e5b7635c08ae16545b876776c46af095d0 100644 (file)
@@ -133,7 +133,8 @@ static int __devinit cs5520_init_one(struct pci_dev *dev, const struct pci_devic
         *      do all the device setup for us
         */
 
-       ide_pci_setup_ports(dev, d, 14, &hw[0], &hws[0]);
+       ide_pci_setup_ports(dev, d, &hw[0], &hws[0]);
+       hw[0].irq = 14;
 
        return ide_host_add(d, hws, NULL);
 }