diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-05-31 12:06:03 +0200 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-05-31 13:35:13 +0200 |
commit | 389500696810f5aa8fc1fe6f375b9dabd111e1d6 (patch) | |
tree | 98c55daf874b3bc2105df36d6d114bb50eb16876 /arch | |
parent | MIPS: Loongson64: Reorder CPUCFG model match arms (diff) | |
download | linux-389500696810f5aa8fc1fe6f375b9dabd111e1d6.tar.xz linux-389500696810f5aa8fc1fe6f375b9dabd111e1d6.zip |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/ralink/bootrom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/ralink/bootrom.c b/arch/mips/ralink/bootrom.c index 88bcce59beeb..94ca8379b83c 100644 --- a/arch/mips/ralink/bootrom.c +++ b/arch/mips/ralink/bootrom.c @@ -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; |