提交 ebfc00f7 编写于 作者: S Stephen Rothwell 提交者: Paul Mackerras

[POWERPC] Make global_phb_number static

since it's not used outside of arch/powerpc/kernel/pci-common.c.
Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 5a8a1a28
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
static DEFINE_SPINLOCK(hose_spinlock); static DEFINE_SPINLOCK(hose_spinlock);
/* XXX kill that some day ... */ /* 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; extern struct list_head hose_list;
......
...@@ -22,7 +22,6 @@ extern void pci_setup_phb_io_dynamic(struct pci_controller *hose, int primary); ...@@ -22,7 +22,6 @@ extern void pci_setup_phb_io_dynamic(struct pci_controller *hose, int primary);
extern struct list_head hose_list; extern struct list_head hose_list;
extern int global_phb_number;
extern void find_and_init_phbs(void); extern void find_and_init_phbs(void);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册