Merge branch 'master' into upstream-fixes
[powerpc.git] / arch / sparc64 / kernel / of_device.c
index 238bbf6..d822c7c 100644 (file)
@@ -1,4 +1,3 @@
-#include <linux/config.h>
 #include <linux/string.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
@@ -842,7 +841,7 @@ static struct of_device * __init scan_one_device(struct device_node *dp,
        if (!parent)
                strcpy(op->dev.bus_id, "root");
        else
-               strcpy(op->dev.bus_id, dp->path_component_name);
+               sprintf(op->dev.bus_id, "%s@%08x", dp->name, dp->node);
 
        if (of_device_register(op)) {
                printk("%s: Could not register of device.\n",