scsi: qla2xxx: Move function prototype to correct header
Cc: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
committed by
Martin K. Petersen
parent
6fcd98fd2c
commit
0f7e51f6b3
@@ -5,7 +5,6 @@
|
||||
* See LICENSE.qla2xxx for copyright and licensing details.
|
||||
*/
|
||||
#include "qla_nvme.h"
|
||||
#include "qla_def.h"
|
||||
#include <linux/scatterlist.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/nvme.h>
|
||||
@@ -15,7 +14,7 @@ static struct nvme_fc_port_template qla_nvme_fc_transport;
|
||||
|
||||
static void qla_nvme_unregister_remote_port(struct work_struct *);
|
||||
|
||||
int qla_nvme_register_remote(scsi_qla_host_t *vha, fc_port_t *fcport)
|
||||
int qla_nvme_register_remote(struct scsi_qla_host *vha, struct fc_port *fcport)
|
||||
{
|
||||
struct nvme_rport *rport;
|
||||
int ret;
|
||||
@@ -616,7 +615,7 @@ static int qla_nvme_wait_on_rport_del(fc_port_t *fcport)
|
||||
return ret;
|
||||
}
|
||||
|
||||
void qla_nvme_abort(struct qla_hw_data *ha, srb_t *sp)
|
||||
void qla_nvme_abort(struct qla_hw_data *ha, struct srb *sp)
|
||||
{
|
||||
int rval;
|
||||
|
||||
@@ -679,7 +678,7 @@ static void qla_nvme_unregister_remote_port(struct work_struct *work)
|
||||
}
|
||||
}
|
||||
|
||||
void qla_nvme_delete(scsi_qla_host_t *vha)
|
||||
void qla_nvme_delete(struct scsi_qla_host *vha)
|
||||
{
|
||||
struct nvme_rport *rport, *trport;
|
||||
fc_port_t *fcport;
|
||||
@@ -711,7 +710,7 @@ void qla_nvme_delete(scsi_qla_host_t *vha)
|
||||
}
|
||||
}
|
||||
|
||||
void qla_nvme_register_hba(scsi_qla_host_t *vha)
|
||||
void qla_nvme_register_hba(struct scsi_qla_host *vha)
|
||||
{
|
||||
struct nvme_fc_port_template *tmpl;
|
||||
struct qla_hw_data *ha;
|
||||
|
||||
Reference in New Issue
Block a user