aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/time.c
diff options
context:
space:
mode:
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 3cb761ec8953..259063f41f95 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