mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:04:51 +01:00
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: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Guo Ren <guoren@kernel.org> Signed-off-by: Guo Ren <guoren@kernel.org>
This commit is contained in:
parent
06c2afb862
commit
57427df33d
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ static void jsri_2_lrw_jsr(uint32_t *location)
|
|||
}
|
||||
}
|
||||
#else
|
||||
static void inline jsri_2_lrw_jsr(uint32_t *location)
|
||||
static inline void jsri_2_lrw_jsr(uint32_t *location)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue