diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-03-29 03:47:23 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 04:54:22 -0400 |
commit | 8271f04242af8ddf8390f289cd6ef78fb3e3c6d9 (patch) | |
tree | 5e4cd7a1889931f6cea5f994c6cb06c9bf120a4c /arch/sparc/kernel/time.c | |
parent | 644923d4a5f117d437aefd47688d1141cc8361ed (diff) |
[SPARC]: constify of_get_property return: arch/sparc
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
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; |