summaryrefslogtreecommitdiff
path: root/arch/mips/ralink/rt305x.c
diff options
context:
space:
mode:
authorIlya Lipnitskiy <ilya.lipnitskiy@gmail.com>2021-03-27 08:38:39 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-03-29 12:18:36 +0300
commit8eb6eb4882f2eb3ed516484bdde7db359785b6df (patch)
tree0503a407dd996de3aa137aac96ddd425920a5528 /arch/mips/ralink/rt305x.c
parentf766b28a5edfd86600e55360cc4bf29c71cca2eb (diff)
downloadlinux-8eb6eb4882f2eb3ed516484bdde7db359785b6df.tar.xz
MIPS: ralink: annotate prom_soc_init() with __init
prom_soc_init is only called from prom_init in arch/mips/ralink/prom.c, which is already annotated with __init, so annotate prom_soc_init with __init too. Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/ralink/rt305x.c')
-rw-r--r--arch/mips/ralink/rt305x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/ralink/rt305x.c b/arch/mips/ralink/rt305x.c
index 496f966c05f9..c5b63c142705 100644
--- a/arch/mips/ralink/rt305x.c
+++ b/arch/mips/ralink/rt305x.c
@@ -214,7 +214,7 @@ void __init ralink_of_remap(void)
panic("Failed to remap core resources");
}
-void prom_soc_init(struct ralink_soc_info *soc_info)
+void __init prom_soc_init(struct ralink_soc_info *soc_info)
{
void __iomem *sysc = (void __iomem *) KSEG1ADDR(RT305X_SYSC_BASE);
unsigned char *name;