diff options
author | Swen Schillig <swen@vnet.ibm.com> | 2008-10-01 12:42:19 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-10-03 12:11:53 -0500 |
commit | a1b449de5d35b9eec8981c6ea999eea263b19a0b (patch) | |
tree | 7503d041e1439e08cefc729c28e656e48843966e /drivers/s390/scsi/zfcp_ext.h | |
parent | 7ba58c9cc16d296290fe645acb11db2b01276544 (diff) | |
download | talos-op-linux-a1b449de5d35b9eec8981c6ea999eea263b19a0b.tar.gz talos-op-linux-a1b449de5d35b9eec8981c6ea999eea263b19a0b.zip |
[SCSI] zfcp: Simplify get_adapter_by_busid
Call the helper function from cio instead looping through all zfcp
adapters.
Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_ext.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_ext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/scsi/zfcp_ext.h b/drivers/s390/scsi/zfcp_ext.h index ca1db974fc5c..b8c5c37b2afa 100644 --- a/drivers/s390/scsi/zfcp_ext.h +++ b/drivers/s390/scsi/zfcp_ext.h @@ -27,6 +27,7 @@ extern int zfcp_sg_setup_table(struct scatterlist *, int); /* zfcp_ccw.c */ extern int zfcp_ccw_register(void); +extern struct zfcp_adapter *zfcp_get_adapter_by_busid(char *); /* zfcp_cfdc.c */ extern struct miscdevice zfcp_cfdc_misc; |