Message ID | 20180531043349.24783-4-benh@kernel.crashing.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 7f995d3ba6f2bfbe274f5a012f5b549f881e78fe |
Headers | show |
Series | [RFC,01/11] powerpc/prom_init: Make of_workarounds static | expand |
On Thu, 2018-05-31 at 04:33:41 UTC, Benjamin Herrenschmidt wrote: > It's never modified either > > Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/7f995d3ba6f2bfbe274f5a012f5b54 cheers
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index 158f9ece064e..860d2dbb6634 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c @@ -2173,7 +2173,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,
It's never modified either Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> --- arch/powerpc/kernel/prom_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)