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

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
K. Y. Srinivasan 2011-05-10 07:54:45 -07:00 committed by Greg Kroah-Hartman
parent 565c38def1
commit 7bd05b9123

View File

@ -767,9 +767,6 @@ retry_request:
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.
*/