[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>
This commit is contained in:
parent
5c44cd2afa
commit
5bb8345db8
|
@ -907,7 +907,7 @@ static int adpt_install_hba(struct scsi_host_template* sht, struct pci_dev* pDev
|
||||||
raptorFlag = TRUE;
|
raptorFlag = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pci_request_regions(pDev)) {
|
if (pci_request_regions(pDev, "dpt_i2o")) {
|
||||||
PERROR("dpti: adpt_config_hba: pci request region failed\n");
|
PERROR("dpti: adpt_config_hba: pci request region failed\n");
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue