From: Jisheng Zhang Date: Thu, 12 Nov 2015 12:04:44 +0000 (+0800) Subject: arm64: suspend: make hw_breakpoint_restore static X-Git-Tag: v4.4-rc1~26^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01b305a234943c25c336a6f2f77932a4eaf125fa;p=profile%2Fcommon%2Fplatform%2Fkernel%2Flinux-artik7.git arm64: suspend: make hw_breakpoint_restore static hw_breakpoint_restore is only used within suspend.c, so it can be declared static. Signed-off-by: Jisheng Zhang Signed-off-by: Catalin Marinas --- diff --git a/arch/arm64/kernel/suspend.c b/arch/arm64/kernel/suspend.c index 3c5e4e6..d87403e 100644 --- a/arch/arm64/kernel/suspend.c +++ b/arch/arm64/kernel/suspend.c @@ -41,7 +41,7 @@ void notrace __cpu_suspend_save(struct cpu_suspend_ctx *ptr, * time the notifier runs debug exceptions might have been enabled already, * with HW breakpoints registers content still in an unknown state. */ -void (*hw_breakpoint_restore)(void *); +static void (*hw_breakpoint_restore)(void *); void __init cpu_suspend_set_dbg_restorer(void (*hw_bp_restore)(void *)) { /* Prevent multiple restore hook initializations */