mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 09:13:38 +00:00
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>
This commit is contained in:
parent
6613476e22
commit
0dd20a48a5
@ -23,9 +23,6 @@
|
|||||||
|
|
||||||
#include <cobalt.h>
|
#include <cobalt.h>
|
||||||
|
|
||||||
extern void cobalt_machine_restart(char *command);
|
|
||||||
extern void cobalt_machine_halt(void);
|
|
||||||
|
|
||||||
const char *get_system_type(void)
|
const char *get_system_type(void)
|
||||||
{
|
{
|
||||||
switch (cobalt_board_id) {
|
switch (cobalt_board_id) {
|
||||||
|
@ -19,4 +19,7 @@ extern int cobalt_board_id;
|
|||||||
#define COBALT_BRD_ID_QUBE2 0x5
|
#define COBALT_BRD_ID_QUBE2 0x5
|
||||||
#define COBALT_BRD_ID_RAQ2 0x6
|
#define COBALT_BRD_ID_RAQ2 0x6
|
||||||
|
|
||||||
|
void cobalt_machine_halt(void);
|
||||||
|
void cobalt_machine_restart(char *command);
|
||||||
|
|
||||||
#endif /* __ASM_COBALT_H */
|
#endif /* __ASM_COBALT_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user