MIPS: Alchemy: Fix missing prototypes
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 17 Jan 2024 23:49:44 +0000 (15:49 -0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 22 Jan 2024 09:32:36 +0000 (10:32 +0100)
commitfeab19143a1c8c5efdf1934dd0b1defb29bb5026
tree97376296558be5b3cbdb8b1f7556d69e5f9b1557
parent0dd20a48a541ea5485b8bfc0e0bdbc6ae29b389f
MIPS: Alchemy: Fix missing prototypes

We have a number of missing prototypes warnings for board_setup(),
alchemy_set_lpj() and prom_init_cmdline(), prom_getenv() and
prom_get_ethernet_addr(). Fix those by providing definitions for the
first two functions in au1000.h which is included everywhere relevant,
and including prom.h for the last three.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/alchemy/common/prom.c
arch/mips/alchemy/common/setup.c
arch/mips/include/asm/mach-au1x00/au1000.h