MIPS: BCM47XX: include header for bcm47xx_prom_highmem_init() prototype
authorYongzhen Zhang <zhangyongzhen@kylinos.cn>
Fri, 15 Mar 2024 02:29:23 +0000 (10:29 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 15 Apr 2024 08:20:55 +0000 (10:20 +0200)
commit34059321f4cf541d69e733cd02882d62c489bb77
tree733f340d7b8d0ec11cccc52f9ffc65993bd60b11
parent0bbac3facb5d6cc0171c45c9873a2dc96bea9680
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>
arch/mips/bcm47xx/prom.c