|
@@ -41,14 +41,11 @@ static __initdata struct of_device_id taishan_of_bus[] = {
|
|
|
|
|
|
static int __init taishan_device_probe(void)
|
|
|
{
|
|
|
- if (!machine_is(taishan))
|
|
|
- return 0;
|
|
|
-
|
|
|
of_platform_bus_probe(NULL, taishan_of_bus, NULL);
|
|
|
|
|
|
return 0;
|
|
|
}
|
|
|
-device_initcall(taishan_device_probe);
|
|
|
+machine_device_initcall(taishan, taishan_device_probe);
|
|
|
|
|
|
/*
|
|
|
* Called very early, MMU is off, device-tree isn't unflattened
|