Skip to content

Commit

Permalink
[SPARC]: Make device_node name and type const
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Stephen Rothwell authored and David S. Miller committed Apr 26, 2007
1 parent 3dfe10e commit 711b360
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/asm-sparc/prom.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions include/asm-sparc64/prom.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 711b360

Please sign in to comment.