diff options
Diffstat (limited to 'arch/sparc/kernel/time.c')
-rw-r--r-- | arch/sparc/kernel/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/time.c b/arch/sparc/kernel/time.c index 9bb1240aaf8a..f1401b57ccc7 100644 --- a/arch/sparc/kernel/time.c +++ b/arch/sparc/kernel/time.c | |||
@@ -301,7 +301,7 @@ static __inline__ void sun4_clock_probe(void) | |||
301 | static int __devinit clock_probe(struct of_device *op, const struct of_device_id *match) | 301 | static int __devinit clock_probe(struct of_device *op, const struct of_device_id *match) |
302 | { | 302 | { |
303 | struct device_node *dp = op->node; | 303 | struct device_node *dp = op->node; |
304 | char *model = of_get_property(dp, "model", NULL); | 304 | const char *model = of_get_property(dp, "model", NULL); |
305 | 305 | ||
306 | if (!model) | 306 | if (!model) |
307 | return -ENODEV; | 307 | return -ENODEV; |