1
0
Fork 0

ARM: tcm: ensure inline stub functions are marked static

Ensure that the stubbed out tcm_init() is marked static, so we don't
end up emitting the stub each time the header is included.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
hifive-unleashed-5.1
Russell King 2018-03-29 11:27:31 +01:00
parent 2288fd5180
commit 14459ce2bd
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
void __init tcm_init(void);
#else
/* No TCM support, just blank inlines to be optimized out */
inline void tcm_init(void)
static inline void tcm_init(void)
{
}
#endif