diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-05 19:45:08 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-11-10 19:09:18 -0500 |
commit | 48b19148733b4826eeedfd8be9f19b61c8d010b1 (patch) | |
tree | 808f72f581b3076fd2474baa2ecc8cd0c9f42461 /drivers/pci/access.c | |
parent | 26205e026cf2b3bb039d6169978ae520973f4141 (diff) |
[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/access.c')
-rw-r--r-- | drivers/pci/access.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/access.c b/drivers/pci/access.c index 2a42add7f563..ea16805a153c 100644 --- a/drivers/pci/access.c +++ b/drivers/pci/access.c | |||
@@ -2,6 +2,8 @@ | |||
2 | #include <linux/module.h> | 2 | #include <linux/module.h> |
3 | #include <linux/ioport.h> | 3 | #include <linux/ioport.h> |
4 | 4 | ||
5 | #include "pci.h" | ||
6 | |||
5 | /* | 7 | /* |
6 | * This interrupt-safe spinlock protects all accesses to PCI | 8 | * This interrupt-safe spinlock protects all accesses to PCI |
7 | * configuration space. | 9 | * configuration space. |