]> err.no Git - linux-2.6/commitdiff
[SPARC/64] constify of_get_property return: sound
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 29 Mar 2007 07:50:57 +0000 (00:50 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 08:54:32 +0000 (01:54 -0700)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
sound/sparc/amd7930.c
sound/sparc/cs4231.c

index c899786f30f5fb5584595889123f954e9045b51d..07962a35f2412f8461681835fcf6c12b7244bfc3 100644 (file)
@@ -1067,8 +1067,8 @@ out_err:
 
 static int __devinit amd7930_obio_attach(struct device_node *dp)
 {
-       struct linux_prom_registers *regs;
-       struct linux_prom_irqs *irqp;
+       const struct linux_prom_registers *regs;
+       const struct linux_prom_irqs *irqp;
        struct resource res, *rp;
        int len;
 
index f5956d557f70089f6f9c544df07aacc684876c86..900a00de35fd7b016f0e10b7bbfa9dd2db2a5ae9 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);