提交 7bd05b91 编写于 作者: K K. Y. Srinivasan 提交者: Greg Kroah-Hartman

Staging: hv: storvsc_drv: Move the declaration of the driver variable

Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: NHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: NAbhishek Kane <v-abkane@microsoft.com>
Signed-off-by: NHank Janssen <hjanssen@microsoft.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 565c38de
......@@ -767,9 +767,6 @@ static int storvsc_queuecommand_lck(struct scsi_cmnd *scmnd,
static DEF_SCSI_QCMD(storvsc_queuecommand)
/* The one and only one */
static struct storvsc_driver storvsc_drv;
/* Scsi driver */
static struct scsi_host_template scsi_driver = {
.module = THIS_MODULE,
......@@ -873,6 +870,11 @@ static int storvsc_probe(struct hv_device *device)
return ret;
}
/* The one and only one */
static struct storvsc_driver storvsc_drv;
/*
* storvsc_drv_init - StorVsc driver initialization.
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册