summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/prom_init.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-05-31 06:33:41 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2018-10-14 09:04:09 +0200
commit7f995d3ba6f2bfbe274f5a012f5b549f881e78fe (patch)
treeb351c963e36670060efb62d0a626747308d69df7 /arch/powerpc/kernel/prom_init.c
parentpowerpc/prom_init: Make "fake_elf" const (diff)
downloadlinux-7f995d3ba6f2bfbe274f5a012f5b549f881e78fe.tar.xz
linux-7f995d3ba6f2bfbe274f5a012f5b549f881e78fe.zip
powerpc/prom_init: Make "default_colors" const
It's never modified. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/prom_init.c')
-rw-r--r--arch/powerpc/kernel/prom_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c
index 0096a53d03da..ad9320347a28 100644
--- a/arch/powerpc/kernel/prom_init.c
+++ b/arch/powerpc/kernel/prom_init.c
@@ -2205,7 +2205,7 @@ static void __init prom_check_displays(void)
ihandle ih;
int i;
- static unsigned char default_colors[] = {
+ static const unsigned char default_colors[] = {
0x00, 0x00, 0x00,
0x00, 0x00, 0xaa,
0x00, 0xaa, 0x00,