diff options
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r-- | drivers/ata/libata-core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 2407f8482948..981b397cb46b 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -6423,14 +6423,14 @@ int ata_host_activate(struct ata_host *host, int irq, | |||
6423 | if (rc) | 6423 | if (rc) |
6424 | return rc; | 6424 | return rc; |
6425 | 6425 | ||
6426 | /* Used to print device info at probe */ | ||
6427 | host->irq = irq; | ||
6428 | |||
6426 | rc = ata_host_register(host, sht); | 6429 | rc = ata_host_register(host, sht); |
6427 | /* if failed, just free the IRQ and leave ports alone */ | 6430 | /* if failed, just free the IRQ and leave ports alone */ |
6428 | if (rc) | 6431 | if (rc) |
6429 | devm_free_irq(host->dev, irq, host); | 6432 | devm_free_irq(host->dev, irq, host); |
6430 | 6433 | ||
6431 | /* Used to print device info at probe */ | ||
6432 | host->irq = irq; | ||
6433 | |||
6434 | return rc; | 6434 | return rc; |
6435 | } | 6435 | } |
6436 | 6436 | ||