[POWERPC] 4xx: Use machine_device_initcall for bus probe

Some machine_xx_initcall macros were recently added that check for the machine
type before calling the function.  This converts the 4xx platforms to use those
for bus probing.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
This commit is contained in:
Josh Boyer
2007-12-24 10:42:02 -06:00
父節點 9e0fd5f06c
當前提交 3f8c5c3b4d
共有 11 個文件被更改,包括 11 次插入44 次删除

查看文件

@@ -17,14 +17,11 @@
static int __init virtex_device_probe(void)
{
if (!machine_is(virtex))
return 0;
of_platform_bus_probe(NULL, NULL, NULL);
return 0;
}
device_initcall(virtex_device_probe);
machine_device_initcall(virtex, virtex_device_probe);
static int __init virtex_probe(void)
{