Commit 3775026a authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by Michael Ellerman
Browse files

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: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20181102211707.10229-1-linux@rasmusvillemoes.dk
parent 3b05a1e5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -147,7 +147,8 @@ static struct miscdevice anslcd_dev = {
	&anslcd_fops
};

const char anslcd_logo[] =	"********************"  /* Line #1 */
static const char anslcd_logo[] __initconst =
				"********************"  /* Line #1 */
				"*      LINUX!      *"  /* Line #3 */
				"*    Welcome to    *"  /* Line #2 */
				"********************"; /* Line #4 */