Skip to content

Commit d18419c

Browse files
Yongzhen Zhangtsbogend
authored andcommitted
MIPS: BCM47XX: Declare early_tlb_init() static
early_tlb_init() was local to file but not declared static, leading to error: arch/mips/bcm47xx/prom.c:126:6: error: no previous prototype for ‘early_tlb_init’ [-Werror=missing-prototypes] 126 | void early_tlb_init(void) | ^~~~~~~~~~~~~~ Signed-off-by: Yongzhen Zhang <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 3405932 commit d18419c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/bcm47xx/prom.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ void __init prom_init(void)
124124
/* Stripped version of tlb_init, with the call to build_tlb_refill_handler
125125
* dropped. Calling it at this stage causes a hang.
126126
*/
127-
void early_tlb_init(void)
127+
static void early_tlb_init(void)
128128
{
129129
write_c0_pagemask(PM_DEFAULT_MASK);
130130
write_c0_wired(0);

0 commit comments

Comments
 (0)