diff options
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 017729c59a49..bef84966d7ad 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -1700,8 +1700,8 @@ qla2x00_free_device(scsi_qla_host_t *ha) | |||
1700 | ha->flags.online = 0; | 1700 | ha->flags.online = 0; |
1701 | 1701 | ||
1702 | /* Detach interrupts */ | 1702 | /* Detach interrupts */ |
1703 | if (ha->pdev->irq) | 1703 | if (ha->host->irq) |
1704 | free_irq(ha->pdev->irq, ha); | 1704 | free_irq(ha->host->irq, ha); |
1705 | 1705 | ||
1706 | /* release io space registers */ | 1706 | /* release io space registers */ |
1707 | if (ha->iobase) | 1707 | if (ha->iobase) |