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>
This commit is contained in:
parent
f766b28a5e
commit
8eb6eb4882
|
@ -27,7 +27,7 @@ extern void ralink_clk_add(const char *dev, unsigned long rate);
|
|||
|
||||
extern void ralink_rst_init(void);
|
||||
|
||||
extern void prom_soc_init(struct ralink_soc_info *soc_info);
|
||||
extern void __init prom_soc_init(struct ralink_soc_info *soc_info);
|
||||
|
||||
__iomem void *plat_of_remap_node(const char *node);
|
||||
|
||||
|
|
|
@ -639,7 +639,7 @@ mt7628_dram_init(struct ralink_soc_info *soc_info)
|
|||
}
|
||||
}
|
||||
|
||||
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(MT7620_SYSC_BASE);
|
||||
unsigned char *name = NULL;
|
||||
|
|
|
@ -146,7 +146,7 @@ static void soc_dev_init(struct ralink_soc_info *soc_info, u32 rev)
|
|||
}
|
||||
}
|
||||
|
||||
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(MT7621_SYSC_BASE);
|
||||
unsigned char *name = NULL;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -113,7 +113,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(RT3883_SYSC_BASE);
|
||||
const char *name;
|
||||
|
|
Loading…
Reference in New Issue