All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] drivers/pci/: small cleanups
@ 2005-11-06  0:45 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-11-06  0:45 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, linux-pci

This patch contains the following cleanups:
- access.c should #include "pci.h" for getting the prototypes of it's
  global functions
- hotplug/shpchp_pci.c: make the needlessly global function
  program_fw_provided_values() static


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 drivers/pci/access.c             |    2 ++
 drivers/pci/hotplug/shpchp_pci.c |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

--- linux-2.6.14-rc5-mm1-full/drivers/pci/access.c.old	2005-11-06 00:26:26.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/drivers/pci/access.c	2005-11-06 00:26:54.000000000 +0100
@@ -2,6 +2,8 @@
 #include <linux/module.h>
 #include <linux/ioport.h>
 
+#include "pci.h"
+
 /*
  * This interrupt-safe spinlock protects all accesses to PCI
  * configuration space.
--- linux-2.6.14-rc5-mm1-full/drivers/pci/hotplug/shpchp_pci.c.old	2005-11-06 00:28:10.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/drivers/pci/hotplug/shpchp_pci.c	2005-11-06 00:28:17.000000000 +0100
@@ -34,7 +34,7 @@
 #include "../pci.h"
 #include "shpchp.h"
 
-void program_fw_provided_values(struct pci_dev *dev)
+static void program_fw_provided_values(struct pci_dev *dev)
 {
 	u16 pci_cmd, pci_bctl;
 	struct pci_dev *cdev;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-06  0:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-06  0:45 [2.6 patch] drivers/pci/: small cleanups Adrian Bunk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.