diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-05-31 14:33:41 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-10-14 18:04:09 +1100 |
commit | 7f995d3ba6f2bfbe274f5a012f5b549f881e78fe (patch) | |
tree | b351c963e36670060efb62d0a626747308d69df7 /arch/powerpc/kernel/prom_init.c | |
parent | 30c69ca0486fd73f2e5d40096ee68bfaed469b76 (diff) | |
download | linux-7f995d3ba6f2bfbe274f5a012f5b549f881e78fe.tar.bz2 |
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.c | 2 |
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, |