Commit 3198514d2d10fb3ce5e49ba0c611764ad8a214d0

Authored by Stephen Rothwell
Committed by David S. Miller
1 parent 66f3cb7ccf

[SPARC/64] constify of_get_property return: sound

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 2 changed files with 3 additions and 3 deletions Side-by-side Diff

sound/sparc/amd7930.c
... ... @@ -1067,8 +1067,8 @@
1067 1067  
1068 1068 static int __devinit amd7930_obio_attach(struct device_node *dp)
1069 1069 {
1070   - struct linux_prom_registers *regs;
1071   - struct linux_prom_irqs *irqp;
  1070 + const struct linux_prom_registers *regs;
  1071 + const struct linux_prom_irqs *irqp;
1072 1072 struct resource res, *rp;
1073 1073 int len;
1074 1074  
sound/sparc/cs4231.c
... ... @@ -2284,7 +2284,7 @@
2284 2284 if (!strcmp(edev->prom_node->name, "SUNW,CS4231")) {
2285 2285 match = 1;
2286 2286 } else if (!strcmp(edev->prom_node->name, "audio")) {
2287   - char *compat;
  2287 + const char *compat;
2288 2288  
2289 2289 compat = of_get_property(edev->prom_node,
2290 2290 "compatible", NULL);