summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-04-12 14:38:34 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:55:41 -0700
commit711b360d64418e88ed45f812e0ebd202073d888d (patch)
tree355c2e050aa4229b912800bb62b612051f6228c6 /include/asm-sparc
parent3dfe10ee7caae9802d84a06fe7724274dea24020 (diff)
downloadop-kernel-dev-711b360d64418e88ed45f812e0ebd202073d888d.zip
op-kernel-dev-711b360d64418e88ed45f812e0ebd202073d888d.tar.gz
[SPARC]: Make device_node name and type const
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc')
-rw-r--r--include/asm-sparc/prom.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-sparc/prom.h b/include/asm-sparc/prom.h
index 39ad222..9ea105e 100644
--- a/include/asm-sparc/prom.h
+++ b/include/asm-sparc/prom.h
@@ -35,8 +35,8 @@ struct property {
};
struct device_node {
- char *name;
- char *type;
+ const char *name;
+ const char *type;
phandle node;
char *path_component_name;
char *full_name;
OpenPOWER on IntegriCloud