diff options
author | K. Y. Srinivasan <[email protected]> | 2011-05-10 07:55:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2011-05-11 13:48:56 -0700 |
commit | f1542a6605ea657b1e20aefc08e1d8859c1703db (patch) | |
tree | c476727ec60c0fe79dfb7a3b74ac50bf4b501eb7 | |
parent | f752e9befd5cd6420fae1939ca8a82ab25e83f5d (diff) |
Staging: hv: Move the declaration of the variable netvsc_drv
Signed-off-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: Haiyang Zhang <[email protected]>
Signed-off-by: Abhishek Kane <[email protected]>
Signed-off-by: Hank Janssen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/staging/hv/netvsc_drv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/hv/netvsc_drv.c b/drivers/staging/hv/netvsc_drv.c index 25883ca6304e..566865fd1237 100644 --- a/drivers/staging/hv/netvsc_drv.c +++ b/drivers/staging/hv/netvsc_drv.c @@ -60,9 +60,6 @@ static int ring_size = 128; module_param(ring_size, int, S_IRUGO); MODULE_PARM_DESC(ring_size, "Ring buffer size (# of pages)"); -/* The one and only one */ -static struct netvsc_driver netvsc_drv; - /* no-op so the netdev core doesn't return -EINVAL when modifying the the * multicast address list in SIOCADDMULTI. hv is setup to get all multicast * when it calls RndisFilterOnOpen() */ @@ -442,6 +439,9 @@ static int netvsc_drv_exit_cb(struct device *dev, void *data) return 1; } +/* The one and only one */ +static struct netvsc_driver netvsc_drv; + static void netvsc_drv_exit(void) { struct hv_driver *drv = &netvsc_drv.base; |