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
This commit is contained in:
Rasmus Villemoes 2018-11-02 22:17:06 +01:00 committed by Michael Ellerman
parent 3b05a1e517
commit 3775026a65
1 changed files with 2 additions and 1 deletions

View File

@ -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 */