From: Stephen Rothwell Date: Thu, 12 Apr 2007 21:38:34 +0000 (-0700) Subject: [SPARC]: Make device_node name and type const X-Git-Tag: v2.6.22-rc1~1127^2~6 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=711b360d64418e88ed45f812e0ebd202073d888d;p=linux-2.6 [SPARC]: Make device_node name and type const Signed-off-by: Stephen Rothwell Signed-off-by: David S. Miller --- diff --git a/include/asm-sparc/prom.h b/include/asm-sparc/prom.h index 39ad2224a1..9ea105ebe2 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; diff --git a/include/asm-sparc64/prom.h b/include/asm-sparc64/prom.h index 6394bd1cdc..ddad5f99ac 100644 --- a/include/asm-sparc64/prom.h +++ b/include/asm-sparc64/prom.h @@ -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;