Messages in this thread Patch in this message | | | Date | Sun, 6 Nov 2005 01:45:08 +0100 | From | Adrian Bunk <> | Subject | [2.6 patch] drivers/pci/: small cleanups |
| |
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; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |