提交 711b360d 编写于 作者: S Stephen Rothwell 提交者: David S. Miller

[SPARC]: Make device_node name and type const

Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 3dfe10ee
...@@ -35,8 +35,8 @@ struct property { ...@@ -35,8 +35,8 @@ struct property {
}; };
struct device_node { struct device_node {
char *name; const char *name;
char *type; const char *type;
phandle node; phandle node;
char *path_component_name; char *path_component_name;
char *full_name; char *full_name;
......
...@@ -36,8 +36,8 @@ struct property { ...@@ -36,8 +36,8 @@ struct property {
struct of_irq_controller; struct of_irq_controller;
struct device_node { struct device_node {
char *name; const char *name;
char *type; const char *type;
phandle node; phandle node;
char *path_component_name; char *path_component_name;
char *full_name; char *full_name;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册