samsung: board: use __weak
authorJeroen Hofstee <jeroen@myspectrum.nl>
Wed, 8 Oct 2014 20:57:28 +0000 (22:57 +0200)
committerTom Rini <trini@ti.com>
Sat, 25 Oct 2014 11:01:59 +0000 (07:01 -0400)
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
board/samsung/common/board.c

index e1fc123fcc4ea154cd4e189460a8afb3e1713399..8b4c8e9a9db90f882a1349e1b5c6e1258fc77ce3 100644 (file)
 
 DECLARE_GLOBAL_DATA_PTR;
 
-int __exynos_early_init_f(void)
+__weak int exynos_early_init_f(void)
 {
        return 0;
 }
-int exynos_early_init_f(void)
-       __attribute__((weak, alias("__exynos_early_init_f")));
 
-int __exynos_power_init(void)
+__weak int exynos_power_init(void)
 {
        return 0;
 }
-int exynos_power_init(void)
-       __attribute__((weak, alias("__exynos_power_init")));
 
 #if defined CONFIG_EXYNOS_TMU
 /* Boot Time Thermal Analysis for SoC temperature threshold breach */