[SCSI] dpt_i2o pci_request_regions fix
authorSalyzyn, Mark <mark_salyzyn@adaptec.com>
Tue, 9 Aug 2005 16:57:58 +0000 (12:57 -0400)
committerJames Bottomley <jejb@mulgrave.(none)>
Tue, 9 Aug 2005 17:09:53 +0000 (12:09 -0500)
Originally From: Andrew Morton <akpm@osdl.org>

Altered By: "Salyzyn, Mark" <mark_salyzyn@adaptec.com>

There is an additional 'build fix' patch that Andrew Morton submitted on
the kernel list (I have changed out his dpr_i2o with dpt_i2o below
though).

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/dpt_i2o.c

index bc7b84c..7235f94 100644 (file)
@@ -907,7 +907,7 @@ static int adpt_install_hba(struct scsi_host_template* sht, struct pci_dev* pDev
                raptorFlag = TRUE;
        }
 
-       if (pci_request_regions(pDev)) {
+       if (pci_request_regions(pDev, "dpt_i2o")) {
                PERROR("dpti: adpt_config_hba: pci request region failed\n");
                return -EINVAL;
        }