Re: [PATCH 1/2] MIPS: ralink: annotate prom_soc_init() with __init

2021-03-29 Thread Thomas Bogendoerfer
On Fri, Mar 26, 2021 at 10:38:39PM -0700, Ilya Lipnitskiy wrote: > 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 > --- > arch/mips/ralink/common.h |

[PATCH 1/2] MIPS: ralink: annotate prom_soc_init() with __init

2021-03-26 Thread Ilya Lipnitskiy
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 --- arch/mips/ralink/common.h | 2 +- arch/mips/ralink/mt7620.c | 2 +- arch/mips/ralink/mt7621.c | 2 +- arch