Skip to content

Commit

Permalink
[POWERPC] Make global_phb_number static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Dec 3, 2007
1 parent 5a8a1a2 commit ebfc00f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/pci-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 0 additions & 1 deletion include/asm-powerpc/ppc-pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ebfc00f

Please sign in to comment.