// SPDX-License-Identifier: GPL-2.0-only /* * Linux logo to be displayed on boot * * Copyright (C) 1996 Larry Ewing ([email protected]) * Copyright (C) 1996,1998 Jakub Jelinek ([email protected]) * Copyright (C) 2001 Greg Banks <[email protected]> * Copyright (C) 2001 Jan-Benedict Glaw <[email protected]> * Copyright (C) 2003 Geert Uytterhoeven <[email protected]> */ #include <linux/linux_logo.h> #include <linux/stddef.h> #include <linux/module.h> #ifdef CONFIG_M68K #include <asm/setup.h> #endif static bool nologo; module_param(nologo, bool, 0); MODULE_PARM_DESC(…) …; /* * Logos are located in the initdata, and will be freed in kernel_init. * Use late_init to mark the logos as freed to prevent any further use. */ static bool logos_freed; static int __init fb_logo_late_init(void) { … } late_initcall_sync(fb_logo_late_init); /* logo's are marked __initdata. Use __ref to tell * modpost that it is intended that this function uses data * marked __initdata. */ const struct linux_logo * __ref fb_find_logo(int depth) { … } EXPORT_SYMBOL_GPL(…);