summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/dpt_i2o.c
diff options
context:
space:
mode:
authorSalyzyn, Mark <mark_salyzyn@adaptec.com>2005-08-09 18:57:58 +0200
committerJames Bottomley <jejb@mulgrave.(none)>2005-08-09 19:09:53 +0200
commit5bb8345db8f2aef367e0fddf99a42b7a6029b31f (patch)
treef37ca7a3bd02f4eac8bb5b62d0068451666569f9 /drivers/scsi/dpt_i2o.c
parent[SCSI] fix target scanning oops with fc transport class (diff)
downloadlinux-5bb8345db8f2aef367e0fddf99a42b7a6029b31f.tar.xz
linux-5bb8345db8f2aef367e0fddf99a42b7a6029b31f.zip
[SCSI] dpt_i2o pci_request_regions fix
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>
Diffstat (limited to 'drivers/scsi/dpt_i2o.c')
-rw-r--r--drivers/scsi/dpt_i2o.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/dpt_i2o.c b/drivers/scsi/dpt_i2o.c
index bc7b84c95db6..7235f94f1191 100644
--- a/drivers/scsi/dpt_i2o.c
+++ b/drivers/scsi/dpt_i2o.c
@@ -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;
}