[SPARC]: Make device_node name and type const
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 12 Apr 2007 21:38:34 +0000 (14:38 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 08:55:41 +0000 (01:55 -0700)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/asm-sparc/prom.h
include/asm-sparc64/prom.h

index 39ad222..9ea105e 100644 (file)
@@ -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;
index 6394bd1..ddad5f9 100644 (file)
@@ -36,8 +36,8 @@ struct property {
 
 struct of_irq_controller;
 struct device_node {
-       char    *name;
-       char    *type;
+       const char      *name;
+       const char      *type;
        phandle node;
        char    *path_component_name;
        char    *full_name;