qla2x00t-32gbit, target: Move variable declarations into a header file

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8151 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-04-05 01:03:28 +00:00
parent c749a72feb
commit 3c9d681a5f
3 changed files with 3 additions and 5 deletions
-4
View File
@@ -45,10 +45,6 @@
#include "qla_def.h"
#include "scst_qla2xxx.h"
extern struct mutex qla_tgt_mutex;
extern struct list_head qla_tgt_glist;
size_t qlt_add_vtarget(u64 port_name, u64 node_name, u64 parent_host)
{
struct Scsi_Host *shost = NULL;
@@ -1528,7 +1528,6 @@ static int sqa_init_scst_tgt(struct scsi_qla_host *vha)
return res;
}
extern struct list_head qla_tgt_glist;
static void sqa_get_target_list(void)
{
struct qla_tgt *tgt;
+3
View File
@@ -1043,6 +1043,9 @@ struct qla_tgt_prm {
extern struct qla_tgt_data qla_target;
extern struct mutex qla_tgt_mutex;
extern struct list_head qla_tgt_glist;
/*
* Function prototypes for qla_target.c logic used by qla2xxx LLD code.