]> err.no Git - linux-2.6/commitdiff
[PATCH] sata_sil24: don't set probe_ent->mmio_base
authorTejun Heo <htejun@gmail.com>
Fri, 4 Aug 2006 18:59:15 +0000 (03:59 +0900)
committerTejun Heo <htejun@gmail.com>
Fri, 4 Aug 2006 18:59:15 +0000 (03:59 +0900)
sata_sil24 doesn't make use of probe_ent->mmio_base and setting this
field causes the area to be released twice on detach.  Don't set
probe_ent->mmio_base.

Signed-off-by: Tejun Heo <htejun@gmail.com>
drivers/scsi/sata_sil24.c

index 2e0f4a4076af6cd48a118c68b3640917116c158f..3f368c7d3ef90be120a98410ce842628ef201ef9 100644 (file)
@@ -1106,7 +1106,6 @@ static int sil24_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
 
        probe_ent->irq = pdev->irq;
        probe_ent->irq_flags = IRQF_SHARED;
-       probe_ent->mmio_base = port_base;
        probe_ent->private_data = hpriv;
 
        hpriv->host_base = host_base;