Browse Source

PCI: make {pciehp,shpchp}_slot_with_bus static

This patch makes the needlessly global {pciehp,shpchp}_slot_with_bus
static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Adrian Bunk 17 years ago
parent
commit
552fe04aa2
2 changed files with 2 additions and 2 deletions
  1. 1 1
      drivers/pci/hotplug/pciehp_core.c
  2. 1 1
      drivers/pci/hotplug/shpchp_core.c

+ 1 - 1
drivers/pci/hotplug/pciehp_core.c

@@ -41,7 +41,7 @@ int pciehp_debug;
 int pciehp_poll_mode;
 int pciehp_poll_time;
 int pciehp_force;
-int pciehp_slot_with_bus;
+static int pciehp_slot_with_bus;
 struct workqueue_struct *pciehp_wq;
 
 #define DRIVER_VERSION	"0.4"

+ 1 - 1
drivers/pci/hotplug/shpchp_core.c

@@ -39,7 +39,7 @@
 int shpchp_debug;
 int shpchp_poll_mode;
 int shpchp_poll_time;
-int shpchp_slot_with_bus;
+static int shpchp_slot_with_bus;
 struct workqueue_struct *shpchp_wq;
 
 #define DRIVER_VERSION	"0.4"