summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2018-11-02 22:17:06 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2019-11-06 00:28:59 +1100
commit3775026a654c15c92c8ac2d53f3fd14fdd1980df (patch)
tree0693195661ff38ed203627a010b4eb696a48fda9 /drivers/macintosh
parent3b05a1e517e1a8cfda4866ec31d28b2bc4fee4c4 (diff)
downloadlinux-3775026a654c15c92c8ac2d53f3fd14fdd1980df.tar.gz
linux-3775026a654c15c92c8ac2d53f3fd14fdd1980df.tar.bz2
linux-3775026a654c15c92c8ac2d53f3fd14fdd1980df.zip
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
Diffstat (limited to 'drivers/macintosh')
-rw-r--r--drivers/macintosh/ans-lcd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/macintosh/ans-lcd.c b/drivers/macintosh/ans-lcd.c
index 400960cf04d5..b1314d104b06 100644
--- a/drivers/macintosh/ans-lcd.c
+++ b/drivers/macintosh/ans-lcd.c
@@ -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 */