mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
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:
parent
3b05a1e517
commit
3775026a65
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user