From: K. Y. Srinivasan Date: Tue, 10 May 2011 14:54:45 +0000 (-0700) Subject: Staging: hv: storvsc_drv: Move the declaration of the driver variable X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=7bd05b9123fba8ad8d5259fe6ce873262937e45a;p=deliverable%2Flinux.git Staging: hv: storvsc_drv: Move the declaration of the driver variable Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c index d24667837b61..570d5634f53e 100644 --- a/drivers/staging/hv/storvsc_drv.c +++ b/drivers/staging/hv/storvsc_drv.c @@ -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. */