arm: omap3: Compile s_init() function only when it is used
authorPali Rohár <pali@kernel.org>
Sun, 7 Feb 2021 13:50:13 +0000 (14:50 +0100)
committerMarek Vasut <marex@denx.de>
Wed, 3 Mar 2021 03:12:46 +0000 (04:12 +0100)
commit50ef3851b864aa4bbe5d445b86ccdf58c69eb320
tree4e46e9c6e6893606a5d574f6d941ecf9a80163e6
parent628680a99f21f6f60415d9e6d0e4b6adfb873c62
arm: omap3: Compile s_init() function only when it is used

Function s_init() is called only from lowlevel_init(). So compile it only
when function lowlevel_init() is compiled.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Acked-by: Pavel Machek <pavel@ucw.cz>
arch/arm/mach-omap2/omap3/board.c