Skip to content

Commit

Permalink
Staging: hv: storvsc_drv: Move the declaration of the driver variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 11, 2011
1 parent 565c38d commit 7bd05b9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions drivers/staging/hv/storvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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.
*/
Expand Down

0 comments on commit 7bd05b9

Please sign in to comment.