MIPS: RB532: Declare prom_setup_cmdline() and rb532_gpio_init() static
authorYongzhen Zhang <zhangyongzhen@kylinos.cn>
Fri, 15 Mar 2024 04:10:43 +0000 (12:10 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 15 Apr 2024 08:21:52 +0000 (10:21 +0200)
commitb796d046433b2042577d8d6c9a5d366e39095c30
tree3db85630a2388a9ee6c5390541df4ee619a6f075
parentd18419cd66835c29ac732624324b99b43f4cff1c
MIPS: RB532: Declare prom_setup_cmdline() and rb532_gpio_init() static

early_tlb_init() and rb532_gpio_init() were local to file but not declared
static, leading to error:

arch/mips/rb532/prom.c:49:13: error: no previous prototype for ‘prom_setup_cmdline’ [-Werror=missing-prototypes]
   49 | void __init prom_setup_cmdline(void)
      |             ^~~~~~~~~~~~~~~~~~
arch/mips/rb532/gpio.c:200:12: error: no previous prototype for ‘rb532_gpio_init’ [-Werror=missing-prototypes]
  200 | int __init rb532_gpio_init(void)
      |            ^~~~~~~~~~~~~~~

Signed-off-by: Yongzhen Zhang <zhangyongzhen@kylinos.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/rb532/gpio.c
arch/mips/rb532/prom.c