Commit 7bd05b91 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman

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

Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarAbhishek Kane <v-abkane@microsoft.com>
Signed-off-by: default avatarHank Janssen <hjanssen@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment