aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/ralink/rt288x.c
diff options
context:
space:
mode:
authorIlya Lipnitskiy <[email protected]>2021-03-26 22:38:39 -0700
committerThomas Bogendoerfer <[email protected]>2021-03-29 11:18:36 +0200
commit8eb6eb4882f2eb3ed516484bdde7db359785b6df (patch)
tree0503a407dd996de3aa137aac96ddd425920a5528 /arch/mips/ralink/rt288x.c
parentf766b28a5edfd86600e55360cc4bf29c71cca2eb (diff)
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 <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'arch/mips/ralink/rt288x.c')
-rw-r--r--arch/mips/ralink/rt288x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/ralink/rt288x.c b/arch/mips/ralink/rt288x.c
index 3f096897858c..34083c70ec68 100644
--- a/arch/mips/ralink/rt288x.c
+++ b/arch/mips/ralink/rt288x.c
@@ -77,7 +77,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(RT2880_SYSC_BASE);
const char *name;