MIPS: ralink: bootrom: mark a function as __init to save some memory

'bootrom_setup()' is only called via 'postcore_initcall'.
It can be marked as __init to save a few bytes of memory.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
Christophe JAILLET 2020-05-31 12:06:03 +02:00 committed by Thomas Bogendoerfer
parent dd25ed7361
commit 3895006968

View file

@ -31,7 +31,7 @@ static const struct file_operations bootrom_file_ops = {
.release = single_release,
};
static int bootrom_setup(void)
static int __init bootrom_setup(void)
{
debugfs_create_file("bootrom", 0444, NULL, NULL, &bootrom_file_ops);
return 0;