diff options
author | Joe Perches <joe@perches.com> | 2010-09-13 05:47:40 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-10-13 01:19:03 -0400 |
commit | 4e74fd7d0a6eda70f9356c113450182a844abcf1 (patch) | |
tree | 0d4b2726cbe2298fa086e12284608f123b8f8a4c /arch/powerpc/boot/addnote.c | |
parent | 410bccf978819394669dede571de878f4576fd3e (diff) |
powerpc: Use static const char arrays
Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/addnote.c')
-rw-r--r-- | arch/powerpc/boot/addnote.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/boot/addnote.c b/arch/powerpc/boot/addnote.c index b1e5611b2ab1..349b5530d2c4 100644 --- a/arch/powerpc/boot/addnote.c +++ b/arch/powerpc/boot/addnote.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <string.h> | 20 | #include <string.h> |
21 | 21 | ||
22 | /* CHRP note section */ | 22 | /* CHRP note section */ |
23 | char arch[] = "PowerPC"; | 23 | static const char arch[] = "PowerPC"; |
24 | 24 | ||
25 | #define N_DESCR 6 | 25 | #define N_DESCR 6 |
26 | unsigned int descr[N_DESCR] = { | 26 | unsigned int descr[N_DESCR] = { |
@@ -33,7 +33,7 @@ unsigned int descr[N_DESCR] = { | |||
33 | }; | 33 | }; |
34 | 34 | ||
35 | /* RPA note section */ | 35 | /* RPA note section */ |
36 | char rpaname[] = "IBM,RPA-Client-Config"; | 36 | static const char rpaname[] = "IBM,RPA-Client-Config"; |
37 | 37 | ||
38 | /* | 38 | /* |
39 | * Note: setting ignore_my_client_config *should* mean that OF ignores | 39 | * Note: setting ignore_my_client_config *should* mean that OF ignores |