diff options
Diffstat (limited to 'kernel/drivers/ata/libahci_platform.c')
-rw-r--r-- | kernel/drivers/ata/libahci_platform.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/drivers/ata/libahci_platform.c b/kernel/drivers/ata/libahci_platform.c index d89305d28..aaa761b90 100644 --- a/kernel/drivers/ata/libahci_platform.c +++ b/kernel/drivers/ata/libahci_platform.c @@ -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); |