summaryrefslogtreecommitdiffstats
path: root/arch/mips/lantiq
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2015-02-26 01:31:04 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-04-01 17:21:58 +0200
commitaa816c1b390aacb698dd6faf5a8cbffb5123c03a (patch)
tree494c52e10326d3bd17d9c7e03ca3fd19e03ec256 /arch/mips/lantiq
parentf45e388ff0f90b922b77bef959a2cfb0645cffbe (diff)
downloadlinux-stable-aa816c1b390aacb698dd6faf5a8cbffb5123c03a.tar.gz
linux-stable-aa816c1b390aacb698dd6faf5a8cbffb5123c03a.tar.bz2
linux-stable-aa816c1b390aacb698dd6faf5a8cbffb5123c03a.zip
MIPS: mark prom_free_prom_memory() everywhere with __init
On OCTEON the function is non-trivial and we can potentially even save some memory. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Acked-by: David Daney <david.daney@cavium.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9338/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/lantiq')
-rw-r--r--arch/mips/lantiq/prom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c
index 39ab3e786e59..0db099ecc016 100644
--- a/arch/mips/lantiq/prom.c
+++ b/arch/mips/lantiq/prom.c
@@ -41,7 +41,7 @@ int ltq_soc_type(void)
return soc_info.type;
}
-void prom_free_prom_memory(void)
+void __init prom_free_prom_memory(void)
{
}