mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-18 21:26:31 +00:00
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:
@@ -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;
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user