Skip to content

Commit 7f995d3

Browse files
ozbenhmpe
authored andcommitted
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>
1 parent 30c69ca commit 7f995d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/kernel/prom_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2205,7 +2205,7 @@ static void __init prom_check_displays(void)
22052205
ihandle ih;
22062206
int i;
22072207

2208-
static unsigned char default_colors[] = {
2208+
static const unsigned char default_colors[] = {
22092209
0x00, 0x00, 0x00,
22102210
0x00, 0x00, 0xaa,
22112211
0x00, 0xaa, 0x00,

0 commit comments

Comments
 (0)