aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/of_device_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/kernel/of_device_64.c')
-rw-r--r--arch/sparc/kernel/of_device_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/of_device_64.c b/arch/sparc/kernel/of_device_64.c
index 881947e59e95..036f18ae59a6 100644
--- a/arch/sparc/kernel/of_device_64.c
+++ b/arch/sparc/kernel/of_device_64.c
@@ -666,7 +666,7 @@ static struct of_device * __init scan_one_device(struct device_node *dp,
666 if (!parent) 666 if (!parent)
667 dev_set_name(&op->dev, "root"); 667 dev_set_name(&op->dev, "root");
668 else 668 else
669 dev_set_name(&op->dev, "%08x", dp->node); 669 dev_set_name(&op->dev, "%08x", dp->phandle);
670 670
671 if (of_device_register(op)) { 671 if (of_device_register(op)) {
672 printk("%s: Could not register of device.\n", 672 printk("%s: Could not register of device.\n",