]> git.karo-electronics.de Git - linux-beck.git/commit
xtensa: xtfpga: fix section mismatch
authorBaruch Siach <baruch@tkos.co.il>
Mon, 27 May 2013 06:11:59 +0000 (09:11 +0300)
committerChris Zankel <chris@zankel.net>
Wed, 5 Jun 2013 17:14:20 +0000 (10:14 -0700)
commit54c0af9f1a1bfe9639666aea789dae6a37a741cf
tree71be8c8aaed0e1f4b4e0a93fbbec6179fecd3824
parent214fe80fcba6df6be28d6ea66762d203d84842c4
xtensa: xtfpga: fix section mismatch

platform_calibrate_ccount() calls update_clock_frequency() which is in .init
section. However, platform_calibrate_ccount() itself is only called from .init
(i.e., time_init()).

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/platforms/xtfpga/setup.c