summaryrefslogtreecommitdiff
path: root/arch/nios2
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-20 03:41:17 -0400
committerWolfgang Denk <wd@denx.de>2010-11-28 21:47:24 +0100
commit882b7d726febe65579d6502c271412ecb05821d7 (patch)
tree9932868dab6e8a9e3a0d4fcc350d0ec4511648b4 /arch/nios2
parent7842fb7c4f5be961c7aa9091dc8c760683b1377c (diff)
do_reset: unify duplicate prototypes
The duplication of the do_reset prototype has gotten out of hand, and they're not all in sync. Unify them all in command.h. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/nios2')
-rw-r--r--arch/nios2/cpu/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nios2/cpu/cpu.c b/arch/nios2/cpu/cpu.c
index d9c654477d9..ef360eecbb4 100644
--- a/arch/nios2/cpu/cpu.c
+++ b/arch/nios2/cpu/cpu.c
@@ -40,7 +40,7 @@ int checkcpu (void)
return (0);
}
-int do_reset(void)
+int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
disable_interrupts();
/* indirect call to go beyond 256MB limitation of toolchain */