diff options
Diffstat (limited to 'arch/sparc/kernel/time_32.c')
-rw-r--r-- | arch/sparc/kernel/time_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/time_32.c b/arch/sparc/kernel/time_32.c index 0d4c09b15efc..e0dbed9503d4 100644 --- a/arch/sparc/kernel/time_32.c +++ b/arch/sparc/kernel/time_32.c | |||
@@ -152,7 +152,7 @@ static struct platform_device m48t59_rtc = { | |||
152 | 152 | ||
153 | static int __devinit clock_probe(struct of_device *op, const struct of_device_id *match) | 153 | static int __devinit clock_probe(struct of_device *op, const struct of_device_id *match) |
154 | { | 154 | { |
155 | struct device_node *dp = op->node; | 155 | struct device_node *dp = op->dev.of_node; |
156 | const char *model = of_get_property(dp, "model", NULL); | 156 | const char *model = of_get_property(dp, "model", NULL); |
157 | 157 | ||
158 | if (!model) | 158 | if (!model) |