Skip to content

Commit 3895006

Browse files
tititiou36tsbogend
authored andcommitted
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 <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent dd25ed7 commit 3895006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/ralink/bootrom.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ static const struct file_operations bootrom_file_ops = {
3131
.release = single_release,
3232
};
3333

34-
static int bootrom_setup(void)
34+
static int __init bootrom_setup(void)
3535
{
3636
debugfs_create_file("bootrom", 0444, NULL, NULL, &bootrom_file_ops);
3737
return 0;

0 commit comments

Comments
 (0)