diff --git a/include/asm-sparc/prom.h b/include/asm-sparc/prom.h index 39ad2224a1172e80087e898e6bb971c46bd874c4..9ea105ebe2ffa1fdfefc2d65f86d38d587f5e77c 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 6394bd1cdcd4bdb311684cc9fd1a94175ab29e2c..ddad5f99ac7f0851ed630bd5a3d8f26d80c87b70 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;