[POWERPC] cell: Use machine_*_initcall() hooks in platform code

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Grant Likely
2008-01-03 06:14:36 +11:00
committed by Paul Mackerras
parent d518b71784
commit e25c47ffa9
6 changed files with 8 additions and 26 deletions

View File

@ -309,9 +309,6 @@ static int __init spider_pci_workaround_init(void)
{
struct pci_controller *phb;
if (!machine_is(cell))
return 0;
/* Find spider bridges. We assume they have been all probed
* in setup_arch(). If that was to change, we would need to
* update this code to cope with dynamically added busses
@ -343,4 +340,4 @@ static int __init spider_pci_workaround_init(void)
return 0;
}
arch_initcall(spider_pci_workaround_init);
machine_arch_initcall(cell, spider_pci_workaround_init);