[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>
This commit is contained in:
Stephen Rothwell
2007-04-23 15:53:27 -07:00
committed by David S. Miller
parent 8271f04242
commit 6a23acf390
11 changed files with 46 additions and 43 deletions

View File

@@ -704,7 +704,7 @@ retry:
return -EOPNOTSUPP;
}
static int __init clock_model_matches(char *model)
static int __init clock_model_matches(const char *model)
{
if (strcmp(model, "mk48t02") &&
strcmp(model, "mk48t08") &&
@@ -721,7 +721,7 @@ static int __init clock_model_matches(char *model)
static int __devinit clock_probe(struct of_device *op, const struct of_device_id *match)
{
struct device_node *dp = op->node;
char *model = of_get_property(dp, "model", NULL);
const char *model = of_get_property(dp, "model", NULL);
unsigned long size, flags;
void __iomem *regs;