mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
soc: rockchip: fiq_debugger: Fix missing prototypes
drivers/soc/rockchip/fiq_debugger/fiq_debugger_arm64.c:45:6: error: no previous prototype for function 'fiq_debugger_dump_regs_aarch32' [-Werror,-Wmissing-prototypes] drivers/soc/rockchip/fiq_debugger/fiq_debugger_arm64.c:64:6: error: no previous prototype for function 'fiq_debugger_dump_regs_aarch64' [-Werror,-Wmissing-prototypes] Signed-off-by: Tao Huang <huangtao@rock-chips.com> Change-Id: Ie44867116113a460c55e6884f51c3671854d7aa2
This commit is contained in:
@@ -42,7 +42,7 @@ void fiq_debugger_dump_pc(struct fiq_debugger_output *output,
|
||||
regs->pc, regs->pstate, mode_name(regs));
|
||||
}
|
||||
|
||||
void fiq_debugger_dump_regs_aarch32(struct fiq_debugger_output *output,
|
||||
static void fiq_debugger_dump_regs_aarch32(struct fiq_debugger_output *output,
|
||||
const struct pt_regs *regs)
|
||||
{
|
||||
output->printf(output, " r0 %08x r1 %08x r2 %08x r3 %08x\n",
|
||||
@@ -61,7 +61,7 @@ void fiq_debugger_dump_regs_aarch32(struct fiq_debugger_output *output,
|
||||
regs->pstate, mode_name(regs));
|
||||
}
|
||||
|
||||
void fiq_debugger_dump_regs_aarch64(struct fiq_debugger_output *output,
|
||||
static void fiq_debugger_dump_regs_aarch64(struct fiq_debugger_output *output,
|
||||
const struct pt_regs *regs)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user