[POWERPC] Make global_phb_number static
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 19 Nov 2007 05:56:15 +0000 (16:56 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 3 Dec 2007 02:56:26 +0000 (13:56 +1100)
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>
arch/powerpc/kernel/pci-common.c
include/asm-powerpc/ppc-pci.h

index 2ae3b6f778a3c4e5cff5922c10c96a705d44c2de..742ff7295de6506c62a98650390bafda9f1e698b 100644 (file)
@@ -48,7 +48,7 @@
 static DEFINE_SPINLOCK(hose_spinlock);
 
 /* XXX kill that some day ... */
-int global_phb_number;         /* Global phb counter */
+static int global_phb_number;          /* Global phb counter */
 
 extern struct list_head hose_list;
 
index b847aa10074be1d87878a40acbece6bb204644eb..fda5e3d1f62a290959bd43774940714b34b31cbc 100644 (file)
@@ -22,7 +22,6 @@ extern void pci_setup_phb_io_dynamic(struct pci_controller *hose, int primary);
 
 
 extern struct list_head hose_list;
-extern int global_phb_number;
 
 extern void find_and_init_phbs(void);