MIPS: Cobalt: Fix missing prototypes
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 17 Jan 2024 04:30:59 +0000 (20:30 -0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 22 Jan 2024 09:32:21 +0000 (10:32 +0100)
commit0dd20a48a541ea5485b8bfc0e0bdbc6ae29b389f
treeb251b32c8605c2e3c7c3b9dfd07d6b6223687507
parent6613476e225e090cc9aad49be7fa504e290dd33d
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>
arch/mips/cobalt/setup.c
arch/mips/include/asm/mach-cobalt/cobalt.h