Skip to content

Commit

Permalink
powerpc/prom_init: Make "default_colors" const
Browse files Browse the repository at this point in the history
It's never modified.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
  • Loading branch information
Benjamin Herrenschmidt authored and Michael Ellerman committed Oct 14, 2018
1 parent 30c69ca commit 7f995d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/prom_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7f995d3

Please sign in to comment.