From: Tobias Klauser Date: Mon, 9 Feb 2009 22:09:32 +0000 (+0100) Subject: tracing: storage class should be before const qualifier X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4543ae7ce1cb8b5ff27a59009e7991ea63791a71;p=sagit-ice-cold%2Fkernel_xiaomi_msm8998.git tracing: storage class should be before const qualifier The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by: Tobias Klauser Signed-off-by: Steven Rostedt --- diff --git a/kernel/trace/trace_sysprof.c b/kernel/trace/trace_sysprof.c index 84ca9d81e74d..4e2de4de1d65 100644 --- a/kernel/trace/trace_sysprof.c +++ b/kernel/trace/trace_sysprof.c @@ -88,7 +88,7 @@ static void backtrace_address(void *data, unsigned long addr, int reliable) } } -const static struct stacktrace_ops backtrace_ops = { +static const struct stacktrace_ops backtrace_ops = { .warning = backtrace_warning, .warning_symbol = backtrace_warning_symbol, .stack = backtrace_stack,