summaryrefslogtreecommitdiffstats
path: root/arch/mips/include
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2024-01-17 05:30:59 +0100
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2024-01-22 10:32:21 +0100
commit0dd20a48a541ea5485b8bfc0e0bdbc6ae29b389f (patch)
treeb251b32c8605c2e3c7c3b9dfd07d6b6223687507 /arch/mips/include
parentLinux 6.8-rc1 (diff)
downloadlinux-0dd20a48a541ea5485b8bfc0e0bdbc6ae29b389f.tar.xz
linux-0dd20a48a541ea5485b8bfc0e0bdbc6ae29b389f.zip
MIPS: Cobalt: Fix missing prototypes
Fix missing prototypes warnings for cobalt_machine_halt() and cobalt_machine_restart() by moving their prototypes to cobalt.h which is included by setup.c. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/include')
-rw-r--r--arch/mips/include/asm/mach-cobalt/cobalt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-cobalt/cobalt.h b/arch/mips/include/asm/mach-cobalt/cobalt.h
index 5b9fce73f11d..97f9d5e9446d 100644
--- a/arch/mips/include/asm/mach-cobalt/cobalt.h
+++ b/arch/mips/include/asm/mach-cobalt/cobalt.h
@@ -19,4 +19,7 @@ extern int cobalt_board_id;
#define COBALT_BRD_ID_QUBE2 0x5
#define COBALT_BRD_ID_RAQ2 0x6
+void cobalt_machine_halt(void);
+void cobalt_machine_restart(char *command);
+
#endif /* __ASM_COBALT_H */