Commit 38950069 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Thomas Bogendoerfer

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: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent dd25ed73
...@@ -31,7 +31,7 @@ static const struct file_operations bootrom_file_ops = { ...@@ -31,7 +31,7 @@ static const struct file_operations bootrom_file_ops = {
.release = single_release, .release = single_release,
}; };
static int bootrom_setup(void) static int __init bootrom_setup(void)
{ {
debugfs_create_file("bootrom", 0444, NULL, NULL, &bootrom_file_ops); debugfs_create_file("bootrom", 0444, NULL, NULL, &bootrom_file_ops);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment