]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: hv: Make hv_pci_dev a static variable
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 29 Apr 2011 20:45:05 +0000 (13:45 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 May 2011 20:31:27 +0000 (13:31 -0700)
Make hv_pci_dev a static 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>
drivers/staging/hv/vmbus_drv.c

index 8663f6459dd8ecf6a9f128590ee3e7cfc489b302..4106dd321faff3552a97da2f2be68e07d80e60d5 100644 (file)
@@ -40,7 +40,7 @@
 #include "vmbus_private.h"
 
 
-struct pci_dev *hv_pci_dev;
+static struct pci_dev *hv_pci_dev;
 
 /* Main vmbus driver data structure */
 struct hv_bus {