aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/of_device_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/kernel/of_device_32.c')
-rw-r--r--arch/sparc/kernel/of_device_32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/of_device_32.c b/arch/sparc/kernel/of_device_32.c
index da527b33ebc7..4926c1babd84 100644
--- a/arch/sparc/kernel/of_device_32.c
+++ b/arch/sparc/kernel/of_device_32.c
@@ -348,6 +348,7 @@ static struct of_device * __init scan_one_device(struct device_node *dp,
348 sd->prom_node = dp; 348 sd->prom_node = dp;
349 sd->op = op; 349 sd->op = op;
350 350
351 op->dev.of_node = dp;
351 op->node = dp; 352 op->node = dp;
352 353
353 op->clock_freq = of_getintprop_default(dp, "clock-frequency", 354 op->clock_freq = of_getintprop_default(dp, "clock-frequency",