[SPARC/64] constify of_get_property return: sound
[linux-2.6.git] / sound / sparc / cs4231.c
index f5956d5..900a00d 100644 (file)
@@ -2284,7 +2284,7 @@ static int __init cs4231_init(void)
                        if (!strcmp(edev->prom_node->name, "SUNW,CS4231")) {
                                match = 1;
                        } else if (!strcmp(edev->prom_node->name, "audio")) {
-                               char *compat;
+                               const char *compat;
 
                                compat = of_get_property(edev->prom_node,
                                                         "compatible", NULL);