diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-06 01:45:08 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-11-10 16:09:18 -0800 |
commit | 48b19148733b4826eeedfd8be9f19b61c8d010b1 (patch) | |
tree | 808f72f581b3076fd2474baa2ecc8cd0c9f42461 /drivers/pci/hotplug/shpchp_pci.c | |
parent | 26205e026cf2b3bb039d6169978ae520973f4141 (diff) | |
download | blackbird-op-linux-48b19148733b4826eeedfd8be9f19b61c8d010b1.tar.gz blackbird-op-linux-48b19148733b4826eeedfd8be9f19b61c8d010b1.zip |
[PATCH] PCI: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/shpchp_pci.c')
-rw-r--r-- | drivers/pci/hotplug/shpchp_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/shpchp_pci.c b/drivers/pci/hotplug/shpchp_pci.c index b8e95acea3b6..38009bc0fd5d 100644 --- a/drivers/pci/hotplug/shpchp_pci.c +++ b/drivers/pci/hotplug/shpchp_pci.c @@ -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; |