summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorYongzhen Zhang <zhangyongzhen@kylinos.cn>2024-03-15 10:29:23 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2024-04-15 10:20:55 +0200
commit34059321f4cf541d69e733cd02882d62c489bb77 (patch)
tree733f340d7b8d0ec11cccc52f9ffc65993bd60b11 /arch/mips
parent0bbac3facb5d6cc0171c45c9873a2dc96bea9680 (diff)
downloadlinux-34059321f4cf541d69e733cd02882d62c489bb77.tar.gz
linux-34059321f4cf541d69e733cd02882d62c489bb77.tar.bz2
linux-34059321f4cf541d69e733cd02882d62c489bb77.zip
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 <zhangyongzhen@kylinos.cn> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/bcm47xx/prom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/bcm47xx/prom.c b/arch/mips/bcm47xx/prom.c
index 99a1ba5394e0..7344a5eb990e 100644
--- a/arch/mips/bcm47xx/prom.c
+++ b/arch/mips/bcm47xx/prom.c
@@ -35,6 +35,7 @@
#include <asm/bootinfo.h>
#include <bcm47xx.h>
#include <bcm47xx_board.h>
+#include "bcm47xx_private.h"
static char bcm47xx_system_type[20] = "Broadcom BCM47XX";