aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/time.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-04-23 18:53:27 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 04:54:24 -0400
commit6a23acf3905287eb952a6f1dbbc8fb3e4eeae2f6 (patch)
tree71c1874e6ae1e00df81b5df5b78e3935f93f298b /arch/sparc64/kernel/time.c
parent8271f04242af8ddf8390f289cd6ef78fb3e3c6d9 (diff)
[SPARC64]: constify of_get_property return: arch/sparc64
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/time.c')
-rw-r--r--arch/sparc64/kernel/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/time.c b/arch/sparc64/kernel/time.c
index 3cb761ec895..259063f41f9 100644
--- a/arch/sparc64/kernel/time.c
+++ b/arch/sparc64/kernel/time.c
@@ -704,7 +704,7 @@ retry:
704 return -EOPNOTSUPP; 704 return -EOPNOTSUPP;
705} 705}
706 706
707static int __init clock_model_matches(char *model) 707static int __init clock_model_matches(const char *model)
708{ 708{
709 if (strcmp(model, "mk48t02") && 709 if (strcmp(model, "mk48t02") &&
710 strcmp(model, "mk48t08") && 710 strcmp(model, "mk48t08") &&
@@ -721,7 +721,7 @@ static int __init clock_model_matches(char *model)
721static int __devinit clock_probe(struct of_device *op, const struct of_device_id *match) 721static int __devinit clock_probe(struct of_device *op, const struct of_device_id *match)
722{ 722{
723 struct device_node *dp = op->node; 723 struct device_node *dp = op->node;
724 char *model = of_get_property(dp, "model", NULL); 724 const char *model = of_get_property(dp, "model", NULL);
725 unsigned long size, flags; 725 unsigned long size, flags;
726 void __iomem *regs; 726 void __iomem *regs;
727 727