projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2288fd5
)
ARM: tcm: ensure inline stub functions are marked static
author
Russell King
<rmk+kernel@armlinux.org.uk>
Thu, 29 Mar 2018 10:27:31 +0000
(11:27 +0100)
committer
Russell King
<rmk+kernel@armlinux.org.uk>
Sat, 14 Jul 2018 15:09:27 +0000
(16:09 +0100)
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>
arch/arm/mm/tcm.h
patch
|
blob
|
history
diff --git
a/arch/arm/mm/tcm.h
b/arch/arm/mm/tcm.h
index
8015ad4
..
2410192
100644
(file)
--- 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