summaryrefslogtreecommitdiff
path: root/include/asm-sparc64/parport.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-03-29 00:50:29 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:54:30 -0700
commit66f3cb7ccfe6d735bd1fa435aebc9b985ac74e07 (patch)
treeea615feb8a7a882e496d1b5c04f6c96244dd0ad2 /include/asm-sparc64/parport.h
parentccf0dec6fcadb4e1c877b9bafb031a6bdb7112b9 (diff)
[SPARC64] constify of_get_property return: include
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64/parport.h')
-rw-r--r--include/asm-sparc64/parport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sparc64/parport.h b/include/asm-sparc64/parport.h
index 284dfd01a33d..6340a5253a34 100644
--- a/include/asm-sparc64/parport.h
+++ b/include/asm-sparc64/parport.h
@@ -103,7 +103,7 @@ static int ebus_ecpp_p(struct linux_ebus_device *edev)
if (!strcmp(edev->prom_node->name, "ecpp"))
return 1;
if (!strcmp(edev->prom_node->name, "parallel")) {
- char *compat;
+ const char *compat;
compat = of_get_property(edev->prom_node,
"compatible", NULL);