diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-24 02:53:27 +0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 12:54:24 +0400 |
commit | 6a23acf3905287eb952a6f1dbbc8fb3e4eeae2f6 (patch) | |
tree | 71c1874e6ae1e00df81b5df5b78e3935f93f298b /arch/sparc64/solaris | |
parent | 8271f04242af8ddf8390f289cd6ef78fb3e3c6d9 (diff) | |
download | linux-6a23acf3905287eb952a6f1dbbc8fb3e4eeae2f6.tar.xz |
[SPARC64]: constify of_get_property return: arch/sparc64
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/solaris')
-rw-r--r-- | arch/sparc64/solaris/misc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc64/solaris/misc.c b/arch/sparc64/solaris/misc.c index 9fcaad6dd11f..542c808ec2c8 100644 --- a/arch/sparc64/solaris/misc.c +++ b/arch/sparc64/solaris/misc.c @@ -224,7 +224,8 @@ static char *serial(char *buffer, int sz) *buffer = 0; if (dp) { - char *val = of_get_property(dp, "system-board-serial#", &len); + const char *val = + of_get_property(dp, "system-board-serial#", &len); if (val && len > 0) { if (len > sz) |