Skip to content

Commit 3405932

Browse files
Yongzhen Zhangtsbogend
authored andcommitted
MIPS: BCM47XX: include header for bcm47xx_prom_highmem_init() prototype
bcm47xx_prom_highmem_init() is a global function declared in arch/mips/bcm47xx/bcm47xx_private.h, but this header is not included before the definition, causing a error: arch/mips/bcm47xx/prom.c:134:13: error: no previous prototype for ‘bcm47xx_prom_highmem_init’ [-Werror=missing-prototypes] 134 | void __init bcm47xx_prom_highmem_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 0bbac3f commit 3405932

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/mips/bcm47xx/prom.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
#include <asm/bootinfo.h>
3636
#include <bcm47xx.h>
3737
#include <bcm47xx_board.h>
38+
#include "bcm47xx_private.h"
3839

3940
static char bcm47xx_system_type[20] = "Broadcom BCM47XX";
4041

0 commit comments

Comments
 (0)