of: Always use 'struct device.of_node' to get device node pointer.
[safe/jmp/linux-2.6] / arch / sparc / kernel / time_32.c
index 0d4c09b..e0dbed9 100644 (file)
@@ -152,7 +152,7 @@ static struct platform_device m48t59_rtc = {
 
 static int __devinit clock_probe(struct of_device *op, const struct of_device_id *match)
 {
-       struct device_node *dp = op->node;
+       struct device_node *dp = op->dev.of_node;
        const char *model = of_get_property(dp, "model", NULL);
 
        if (!model)