[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>
This commit is contained in:
committed by
David S. Miller
parent
3dfe10ee7c
commit
711b360d64
@@ -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 {
|
|||||||
|
|
||||||
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;
|
||||||
|
Reference in New Issue
Block a user