Commit 57427df3 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Guo Ren

csky: fix old style declaration in module.c

With W=1, gcc warns about the inline keyword in the wrong place:

arch/csky/kernel/module.c:43:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration]
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarGuo Ren <guoren@kernel.org>
Signed-off-by: default avatarGuo Ren <guoren@kernel.org>
parent 06c2afb8
...@@ -40,7 +40,7 @@ static void jsri_2_lrw_jsr(uint32_t *location) ...@@ -40,7 +40,7 @@ static void jsri_2_lrw_jsr(uint32_t *location)
} }
} }
#else #else
static void inline jsri_2_lrw_jsr(uint32_t *location) static inline void jsri_2_lrw_jsr(uint32_t *location)
{ {
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment