Commit e8be17fa authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64: vio fixup

From: Anton Blanchard <anton@samba.org>

vi fixup
parent b3646f19
......@@ -149,8 +149,9 @@ vio_bus_init(void)
* Functionally takes the place of pci_scan_bus
*/
node_vroot = find_devices("vdevice");
if (!node_vroot) {
printk(KERN_WARNING "%s: no /vdevice node\n", __FUNCTION__);
if ((node_vroot == NULL) || (node_vroot->child == NULL)) {
printk(KERN_INFO "VIO: missing or empty /vdevice node; no virtual IO"
" devices present.\n");
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment