diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-11-19 00:56:15 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-02 21:56:26 -0500 |
commit | ebfc00f78c13d0643c858ccc61c5bb8be0a5dbf0 (patch) | |
tree | c6cc4e5f802a525fcba17a99a8cec9aa32d53ec8 | |
parent | 5a8a1a28bb35a62561367c0a1144dbc5dcb95230 (diff) |
[POWERPC] Make global_phb_number static
since it's not used outside of arch/powerpc/kernel/pci-common.c.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r-- | arch/powerpc/kernel/pci-common.c | 2 | ||||
-rw-r--r-- | include/asm-powerpc/ppc-pci.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c index 2ae3b6f778a3..742ff7295de6 100644 --- a/arch/powerpc/kernel/pci-common.c +++ b/arch/powerpc/kernel/pci-common.c | |||
@@ -48,7 +48,7 @@ | |||
48 | static DEFINE_SPINLOCK(hose_spinlock); | 48 | static DEFINE_SPINLOCK(hose_spinlock); |
49 | 49 | ||
50 | /* XXX kill that some day ... */ | 50 | /* XXX kill that some day ... */ |
51 | int global_phb_number; /* Global phb counter */ | 51 | static int global_phb_number; /* Global phb counter */ |
52 | 52 | ||
53 | extern struct list_head hose_list; | 53 | extern struct list_head hose_list; |
54 | 54 | ||
diff --git a/include/asm-powerpc/ppc-pci.h b/include/asm-powerpc/ppc-pci.h index b847aa10074b..fda5e3d1f62a 100644 --- a/include/asm-powerpc/ppc-pci.h +++ b/include/asm-powerpc/ppc-pci.h | |||
@@ -22,7 +22,6 @@ extern void pci_setup_phb_io_dynamic(struct pci_controller *hose, int primary); | |||
22 | 22 | ||
23 | 23 | ||
24 | extern struct list_head hose_list; | 24 | extern struct list_head hose_list; |
25 | extern int global_phb_number; | ||
26 | 25 | ||
27 | extern void find_and_init_phbs(void); | 26 | extern void find_and_init_phbs(void); |
28 | 27 | ||