diff options
author | Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com> | 2021-03-27 08:38:39 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-03-29 12:18:36 +0300 |
commit | 8eb6eb4882f2eb3ed516484bdde7db359785b6df (patch) | |
tree | 0503a407dd996de3aa137aac96ddd425920a5528 /arch/mips/ralink/rt305x.c | |
parent | f766b28a5edfd86600e55360cc4bf29c71cca2eb (diff) | |
download | linux-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.c | 2 |
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; |