Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

macintosh: ans-lcd: make anslcd_logo static and __initconst

This variable has no reason to have external linkage, and since it is
only used in an __init function, it might as well be made __initconst
also.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20181102211707.10229-1-linux@rasmusvillemoes.dk

authored by

Rasmus Villemoes and committed by
Michael Ellerman
3775026a 3b05a1e5

+2 -1
+2 -1
drivers/macintosh/ans-lcd.c
··· 147 147 &anslcd_fops 148 148 }; 149 149 150 - const char anslcd_logo[] = "********************" /* Line #1 */ 150 + static const char anslcd_logo[] __initconst = 151 + "********************" /* Line #1 */ 151 152 "* LINUX! *" /* Line #3 */ 152 153 "* Welcome to *" /* Line #2 */ 153 154 "********************"; /* Line #4 */