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

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
...@@ -147,7 +147,8 @@ static struct miscdevice anslcd_dev = { ...@@ -147,7 +147,8 @@ static struct miscdevice anslcd_dev = {
&anslcd_fops &anslcd_fops
}; };
const char anslcd_logo[] = "********************" /* Line #1 */ static const char anslcd_logo[] __initconst =
"********************" /* Line #1 */
"* LINUX! *" /* Line #3 */ "* LINUX! *" /* Line #3 */
"* Welcome to *" /* Line #2 */ "* Welcome to *" /* Line #2 */
"********************"; /* Line #4 */ "********************"; /* Line #4 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment