![Russell King](/assets/img/avatar_default.png)
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>
18 lines
436 B
C
18 lines
436 B
C
/*
|
|
* Copyright (C) 2008-2009 ST-Ericsson AB
|
|
* License terms: GNU General Public License (GPL) version 2
|
|
* TCM memory handling for ARM systems
|
|
*
|
|
* Author: Linus Walleij <linus.walleij@stericsson.com>
|
|
* Author: Rickard Andersson <rickard.andersson@stericsson.com>
|
|
*/
|
|
|
|
#ifdef CONFIG_HAVE_TCM
|
|
void __init tcm_init(void);
|
|
#else
|
|
/* No TCM support, just blank inlines to be optimized out */
|
|
static inline void tcm_init(void)
|
|
{
|
|
}
|
|
#endif
|