]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
PCI: make {pciehp,shpchp}_slot_with_bus static
authorAdrian Bunk <bunk@kernel.org>
Mon, 5 May 2008 18:21:51 +0000 (21:21 +0300)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 10 Jun 2008 17:59:25 +0000 (10:59 -0700)
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>
drivers/pci/hotplug/pciehp_core.c
drivers/pci/hotplug/shpchp_core.c

index 48a2ed378914f383056d7e803ad4c58b044b3ec4..86d04c694000df42c104e416148bd7936e615761 100644 (file)
@@ -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"
index 97848654652a1d2e03e6f648c268012f9b0711d9..0066b0be09281f44fa8318892fb32ed395d01210 100644 (file)
@@ -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"