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

[POWERPC] Make find_and_init_pbs() a void function

It always returned 0 and noone checked.
Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 0a7c7efc
......@@ -274,7 +274,7 @@ int __devinit rtas_setup_phb(struct pci_controller *phb)
return 0;
}
unsigned long __init find_and_init_phbs(void)
void __init find_and_init_phbs(void)
{
struct device_node *node;
struct pci_controller *phb;
......@@ -319,8 +319,6 @@ unsigned long __init find_and_init_phbs(void)
if (prop)
pci_assign_all_buses = *prop;
}
return 0;
}
/* RPA-specific bits for removing PHBs */
......
......@@ -24,7 +24,7 @@ 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 unsigned long find_and_init_phbs(void);
extern void find_and_init_phbs(void);
extern struct pci_dev *ppc64_isabridge_dev; /* may be NULL if no ISA bus */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册