]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: EXYNOS: fix compilation error introduced due to common clock migration
authorThomas Abraham <thomas.ab@samsung.com>
Fri, 5 Apr 2013 06:17:47 +0000 (15:17 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 8 Apr 2013 14:54:48 +0000 (23:54 +0900)
commit296f3f2c9322480400338f71d8c118107f9a7f20
treea288e1f06896fcf0a9edb2b0c4a7962c1ff6e106
parent688f7d8c9fef621c53c7b385ff6baf62bcb6b077
ARM: EXYNOS: fix compilation error introduced due to common clock migration

The functions exynos4_clk_init and exynos4_clk_register_fixed_ext
are applicable only on Exynos4 non-dt platforms. But when building
Exynos5 platforms without including Exynos4 platforms, the following
errors show up.

arch/arm/mach-exynos/built-in.o: In function `exynos_init_time':
arch/arm/mach-exynos/common.c:446: undefined reference to `exynos4_clk_init'
arch/arm/mach-exynos/common.c:447: undefined reference to `exynos4_clk_register_fixed_ext'

Fix this compilation errors by marking these calls as Exynos4 specific.

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/common.c