summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2024-01-17 15:49:44 -0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2024-01-22 10:32:36 +0100
commitfeab19143a1c8c5efdf1934dd0b1defb29bb5026 (patch)
tree97376296558be5b3cbdb8b1f7556d69e5f9b1557 /arch/mips/include/asm
parent0dd20a48a541ea5485b8bfc0e0bdbc6ae29b389f (diff)
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>
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r--arch/mips/include/asm/mach-au1x00/au1000.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-au1x00/au1000.h b/arch/mips/include/asm/mach-au1x00/au1000.h
index a7eec3364a64..41546777902b 100644
--- a/arch/mips/include/asm/mach-au1x00/au1000.h
+++ b/arch/mips/include/asm/mach-au1x00/au1000.h
@@ -597,6 +597,9 @@
#include <asm/cpu.h>
+void alchemy_set_lpj(void);
+void board_setup(void);
+
/* helpers to access the SYS_* registers */
static inline unsigned long alchemy_rdsys(int regofs)
{