mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6 patch] make {pciehp,shpchp}_slot_with_bus static
@ 2008-05-05 18:21 Adrian Bunk
  2008-05-05 19:10 ` Jesse Barnes
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-05-05 18:21 UTC (permalink / raw)
  To: Kenji Kaneshige, Kristen Carlson Accardi, Jesse Barnes; +Cc: linux-kernel

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

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 drivers/pci/hotplug/pciehp_core.c |    2 +-
 drivers/pci/hotplug/shpchp_core.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

41d6f1dab962d7363216746c042a4a81951e5116 diff --git a/drivers/pci/hotplug/pciehp_core.c b/drivers/pci/hotplug/pciehp_core.c
index 43d8ddb..60990be 100644
--- a/drivers/pci/hotplug/pciehp_core.c
+++ b/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"
diff --git a/drivers/pci/hotplug/shpchp_core.c b/drivers/pci/hotplug/shpchp_core.c
index 1648076..5132314 100644
--- a/drivers/pci/hotplug/shpchp_core.c
+++ b/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"


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-05 19:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-05 18:21 [2.6 patch] make {pciehp,shpchp}_slot_with_bus static Adrian Bunk
2008-05-05 19:10 ` Jesse Barnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®