diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2018-03-29 13:27:31 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-07-14 18:09:27 +0300 |
commit | 14459ce2bd980f74bc9c36f3ef42e7ba645e5dfe (patch) | |
tree | 4005546ad7242c21ca5f8946e712ab087af5c17a /arch | |
parent | 2288fd51808cdf697f12d92706706554192db290 (diff) | |
download | linux-14459ce2bd980f74bc9c36f3ef42e7ba645e5dfe.tar.xz |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mm/tcm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/tcm.h b/arch/arm/mm/tcm.h index 8015ad434a40..24101925fe64 100644 --- a/arch/arm/mm/tcm.h +++ b/arch/arm/mm/tcm.h @@ -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 |