Commit 3198514d authored by Stephen Rothwell's avatar Stephen Rothwell Committed by David S. Miller

[SPARC/64] constify of_get_property return: sound

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 66f3cb7c
...@@ -1067,8 +1067,8 @@ out_err: ...@@ -1067,8 +1067,8 @@ out_err:
static int __devinit amd7930_obio_attach(struct device_node *dp) static int __devinit amd7930_obio_attach(struct device_node *dp)
{ {
struct linux_prom_registers *regs; const struct linux_prom_registers *regs;
struct linux_prom_irqs *irqp; const struct linux_prom_irqs *irqp;
struct resource res, *rp; struct resource res, *rp;
int len; int len;
......
...@@ -2284,7 +2284,7 @@ static int __init cs4231_init(void) ...@@ -2284,7 +2284,7 @@ static int __init cs4231_init(void)
if (!strcmp(edev->prom_node->name, "SUNW,CS4231")) { if (!strcmp(edev->prom_node->name, "SUNW,CS4231")) {
match = 1; match = 1;
} else if (!strcmp(edev->prom_node->name, "audio")) { } else if (!strcmp(edev->prom_node->name, "audio")) {
char *compat; const char *compat;
compat = of_get_property(edev->prom_node, compat = of_get_property(edev->prom_node,
"compatible", NULL); "compatible", NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment