These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / ata / libahci_platform.c
index d89305d..aaa761b 100644 (file)
@@ -518,6 +518,8 @@ int ahci_platform_init_host(struct platform_device *pdev,
                return -EINVAL;
        }
 
+       hpriv->irq = irq;
+
        /* prepare host */
        pi.private_data = (void *)(unsigned long)hpriv->flags;
 
@@ -588,7 +590,7 @@ int ahci_platform_init_host(struct platform_device *pdev,
        ahci_init_controller(host);
        ahci_print_info(host, "platform");
 
-       return ahci_host_activate(host, irq, sht);
+       return ahci_host_activate(host, sht);
 }
 EXPORT_SYMBOL_GPL(ahci_platform_init_host);