summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/solaris
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-04-23 15:53:27 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:54:24 -0700
commit6a23acf3905287eb952a6f1dbbc8fb3e4eeae2f6 (patch)
tree71c1874e6ae1e00df81b5df5b78e3935f93f298b /arch/sparc64/solaris
parent8271f04242af8ddf8390f289cd6ef78fb3e3c6d9 (diff)
downloadlinux-6a23acf3905287eb952a6f1dbbc8fb3e4eeae2f6.tar.bz2
[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.c3
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)